]> git.pld-linux.org Git - packages/mc.git/commitdiff
use python3 shebang in uc1541 helper script; rel 3 auto/th/mc-4.8.28-3
authorJan Palus <atler@pld-linux.org>
Tue, 13 Sep 2022 16:05:27 +0000 (18:05 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 13 Sep 2022 16:05:27 +0000 (18:05 +0200)
python3 supported since 2019

mc.spec

diff --git a/mc.spec b/mc.spec
index b4a89f89ea354bbc64b7a22fc06a0f88dde2c3bf..ede238f03e76728593b3b068ad12f5a0c88ed129 100644 (file)
--- 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
This page took 0.300368 seconds and 4 git commands to generate.