commit b44e7e0e833bd1fbac6340b054d20abfa85fd775
Author: Jan Palus <[email protected]>
Date:   Sat Mar 6 16:34:08 2021 +0100

    fix shebang in example; rel 3

 python-configshell-fb.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-configshell-fb.spec b/python-configshell-fb.spec
index 8677e6b..513fa52 100644
--- a/python-configshell-fb.spec
+++ b/python-configshell-fb.spec
@@ -8,7 +8,7 @@ Summary:        ConfigShell - Python 2 library for building 
configuration shells
 Summary(pl.UTF-8):     ConfigShell - biblioteka Pythona 2 do tworzenia powłok 
konfiguracyjnych
 Name:          python-configshell-fb
 Version:       1.1.fb25
-Release:       2
+Release:       3
 License:       Apache v2.0
 Group:         Libraries/Python
 #Source0Download: https://github.com/open-iscsi/configshell-fb/releases
@@ -84,10 +84,12 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' 
$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/myshell
 %endif
 %if %{with python3}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python3-configshell-fb-%{version}
 cp -a examples/* 
$RPM_BUILD_ROOT%{_examplesdir}/python3-configshell-fb-%{version}
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python3},' 
$RPM_BUILD_ROOT%{_examplesdir}/python3-configshell-fb-%{version}/myshell
 sed -i '1s|^#!.*python\b|#!%{__python3}|' 
$RPM_BUILD_ROOT%{_examplesdir}/python3-configshell-fb-%{version}/*
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-configshell-fb.git/commitdiff/b44e7e0e833bd1fbac6340b054d20abfa85fd775

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to