]> git.pld-linux.org Git - packages/python-linux-procfs.git/commitdiff
- remove py2 binary to fix build inconsistencies auto/th/python-linux-procfs-0.6-3
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 19 Oct 2018 05:24:52 +0000 (07:24 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 19 Oct 2018 05:24:52 +0000 (07:24 +0200)
- rel 3

python-linux-procfs.spec

index 5b5b43898ffb0885811f1cb74460cb558c640549..ce089eb0b1afd4543bbb88a1e38ce3a126affa04 100644 (file)
@@ -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
 
This page took 0.12885 seconds and 4 git commands to generate.