From 8f787f458ba8a03bc22e704520846fb7b613302a Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 5 Apr 2020 23:20:42 +0200 Subject: [PATCH] - updated to 4.8.24 --- mc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mc.spec b/mc.spec index 5a81baa..45e635b 100644 --- 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 \ -- 2.46.0