[packages/python-pyroute2] - make sure correct, py3 binary is installed - rel 2

baggins baggins at pld-linux.org
Tue May 11 20:12:35 CEST 2021


commit 19178c3e7e6cfc86ed87681483dffbdc6e0ace8d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 11 20:12:09 2021 +0200

    - make sure correct, py3 binary is installed
    - rel 2

 python-pyroute2.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-pyroute2.spec b/python-pyroute2.spec
index 8465bcc..86de1af 100644
--- a/python-pyroute2.spec
+++ b/python-pyroute2.spec
@@ -15,7 +15,7 @@
 Summary:	Python Netlink library
 Name:		python-%{module}
 Version:	0.5.18
-Release:	1
+Release:	2
 License:	GPLv2+ or Apache v2
 Group:		Libraries/Python
 # if pypi:
@@ -103,6 +103,8 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/pyroute2-cli
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/ss2
 %py3_install
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyroute2.git/commitdiff/19178c3e7e6cfc86ed87681483dffbdc6e0ace8d



More information about the pld-cvs-commit mailing list