commit 2b41b2afcca376924b294d596694dfdc03656c3d
Author: Jan RÄ™korajski <[email protected]>
Date:   Sun Apr 10 17:27:56 2022 +0200

    - make sure python3 script is installed, rel 7

 python-netaddr.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-netaddr.spec b/python-netaddr.spec
index e1530cd..ed1308b 100644
--- a/python-netaddr.spec
+++ b/python-netaddr.spec
@@ -7,7 +7,7 @@
 Summary:       A pure Python network address representation and manipulation 
library
 Name:          python-netaddr
 Version:       0.7.19
-Release:       6
+Release:       7
 License:       BSD
 Group:         Development/Languages/Python
 Source0:       
https://pypi.python.org/packages/source/n/netaddr/%{module}-%{version}.tar.gz
@@ -107,6 +107,8 @@ sphinx-build -b html -d build/doctrees -D 
latex_paper_size=a4 docs/source build/
 %endif
 
 %if %{with python3}
+# Remove python2 artefacts
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/*
 %py3_install \
        --optimize 2 \
        --root=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-netaddr.git/commitdiff/2b41b2afcca376924b294d596694dfdc03656c3d

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

Reply via email to