[packages/python-paramiko] use %{__python} macro for shebang; rel 2

atler atler at pld-linux.org
Mon Mar 1 15:42:46 CET 2021


commit 00e4a1545e1c23c72b6cbecf4da8c5e141b55f16
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Mar 1 15:42:04 2021 +0100

    use %{__python} macro for shebang; rel 2

 python-paramiko.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-paramiko.spec b/python-paramiko.spec
index 2bbfebb..9d38fe1 100644
--- a/python-paramiko.spec
+++ b/python-paramiko.spec
@@ -10,7 +10,7 @@ Summary:	SSH2 protocol for Python 2
 Summary(pl.UTF-8):	Obsługa protokołu SSH2 w Pythonie 2
 Name:		python-%{module}
 Version:	2.6.0
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries/Python
 #Source0Download: https://pypi.python.org/simple/paramiko/
@@ -88,7 +88,7 @@ Dokumentacja API modułu paramiko.
 %prep
 %setup -q -n %{module}-%{version}
 
-find demos -name '*.py' -type f | xargs sed -i -e '1s|#!.*python.*|#!%{_bindir}/python|'
+find demos -name '*.py' -type f | xargs sed -i -e '1s|#!.*python.*|#!%{__python}|'
 
 # Windows-specific modules, break tests by using Windows-specific ctypes API
 %{__rm} paramiko/{win_pageant,_winapi}.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-paramiko.git/commitdiff/00e4a1545e1c23c72b6cbecf4da8c5e141b55f16



More information about the pld-cvs-commit mailing list