]> TLD Linux GIT Repositories - packages/mc.git/commitdiff
- updated to 4.8.24
authorMarcin Krol <hawk@tld-linux.org>
Sun, 5 Apr 2020 21:20:42 +0000 (23:20 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 5 Apr 2020 21:20:42 +0000 (23:20 +0200)
mc.spec

diff --git a/mc.spec b/mc.spec
index 5a81baa1b6cb13b52cfee1a1f2bcdf322e333b6e..45e635b00799a12d91bbbfc4ed0bed9b2a17beb2 100644 (file)
--- a/mc.spec
+++ b/mc.spec
@@ -17,13 +17,13 @@ Summary(tr.UTF-8):  Midnight Commander görsel kabuğu
 Summary(uk.UTF-8):     Диспетчер файлів Midnight Commander
 Summary(zh_CN.UTF-8):  一个方便实用的文件管理器和虚拟Shell
 Name:          mc
-Version:       4.8.23
+Version:       4.8.24
 Release:       1
 Epoch:         1
 License:       GPL v3+
 Group:         Applications/Shells
 Source0:       http://ftp.midnight-commander.org/%{name}-%{version}.tar.xz
-# Source0-md5: 466c3135f727f8ac2102d060a080ace3
+# Source0-md5: 3a11df2dd379dd67c497c8d2c344715c
 Source3:       %{name}-non-english-man-pages.tar.bz2
 # Source3-md5: 17d7b574e1b85ad6f8ddceda9e841f19
 Source7:       %{name}.desktop
@@ -170,6 +170,9 @@ tar, zip ve RPM dosyalarının içeriklerini gösterebilmesidir.
 
 %{__sed} -i 's:|hxx|:|hxx|tcc|:' misc/syntax/Syntax.in
 
+sed -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+       src/vfs/extfs/helpers/uc1541
+
 %build
 %{__gettextize}
 %{__libtoolize}
@@ -179,6 +182,7 @@ tar, zip ve RPM dosyalarının içeriklerini gösterebilmesidir.
 
 export X11_WWW="xdg-open"
 %configure \
+       PYTHON=%{_bindir}/python3 \
        %{?with_ext2undel:--enable-vfs-undelfs} \
        %{?with_samba:--enable-vfs-smb} \
        --with-smb-configdir=/etc/samba \