[packages/mc] use python3 shebang in uc1541 helper script; rel 3

atler atler at pld-linux.org
Tue Sep 13 18:08:45 CEST 2022


commit 6afa14d7e87e97ccf4ca4dbd1573b7649861a380
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Sep 13 18:05:27 2022 +0200

    use python3 shebang in uc1541 helper script; rel 3
    
    python3 supported since 2019

 mc.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mc.spec b/mc.spec
index b4a89f8..ede238f 100644
--- a/mc.spec
+++ b/mc.spec
@@ -18,7 +18,7 @@ Summary(uk.UTF-8):	Диспетчер файлів Midnight Commander
 Summary(zh_CN.UTF-8):	一个方便实用的文件管理器和虚拟Shell
 Name:		mc
 Version:	4.8.28
-Release:	2
+Release:	3
 Epoch:		1
 License:	GPL v3+
 Group:		Applications/Shells
@@ -171,7 +171,7 @@ 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,' \
+sed -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python3}\1,' \
       src/vfs/extfs/helpers/uc1541
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mc.git/commitdiff/6afa14d7e87e97ccf4ca4dbd1573b7649861a380



More information about the pld-cvs-commit mailing list