[packages/python-pysnmp] fix shebang; rel 8

atler atler at pld-linux.org
Sat Mar 6 13:23:32 CET 2021


commit becff004b464c45e4721880f68879ef15340b483
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Mar 6 13:20:48 2021 +0100

    fix shebang; rel 8

 python-pysnmp.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-pysnmp.spec b/python-pysnmp.spec
index f95ae47..ff2f3f8 100644
--- a/python-pysnmp.spec
+++ b/python-pysnmp.spec
@@ -7,7 +7,7 @@ Summary:	SNMP engine for Python
 Summary(pl.UTF-8):	Obsługa SNMP dla Pythona
 Name:		python-%{module}
 Version:	4.2.5
-Release:	7
+Release:	8
 License:	BSD-like
 Group:		Libraries/Python
 Source0:	http://downloads.sourceforge.net/pysnmp/pysnmp-%{version}.tar.gz
@@ -94,6 +94,9 @@ Ten pakiet zawiera przykładowe programy do modułu Pythona pysnmp.
 %prep
 %setup -q -n %{module}-%{version}
 
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' \
+	tools/libsmi2pysnmp
+
 %build
 %if %{with python2}
 %py_build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pysnmp.git/commitdiff/cf953da89dc820df1ac684bfb2d1ee7ce27fe628



More information about the pld-cvs-commit mailing list