[packages/python-linux-procfs] - remove py2 binary to fix build inconsistencies - rel 3

baggins baggins at pld-linux.org
Fri Oct 19 07:25:19 CEST 2018


commit 7e13eda1a86c579b03e7bb61bb6e809cfb96281e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 19 07:24:52 2018 +0200

    - remove py2 binary to fix build inconsistencies
    - rel 3

 python-linux-procfs.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec
index 5b5b438..ce089eb 100644
--- a/python-linux-procfs.spec
+++ b/python-linux-procfs.spec
@@ -7,7 +7,7 @@ Summary:	Linux /proc abstraction classes for Python 2
 Summary(pl.UTF-8):	Klasy abstrakcji linuksowego /proc dla Pythona 2
 Name:		python-linux-procfs
 Version:	0.6
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Libraries/Python
 Source0:	https://www.kernel.org/pub/software/libs/python/python-linux-procfs/%{name}-%{version}.tar.xz
@@ -67,6 +67,8 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
+# Make sure python2 script is removed
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/pflags
 %py3_install
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-linux-procfs.git/commitdiff/7e13eda1a86c579b03e7bb61bb6e809cfb96281e



More information about the pld-cvs-commit mailing list