[packages/python-linux-procfs] - single pflags utility is enough
qboosh
qboosh at pld-linux.org
Thu Oct 18 16:09:22 CEST 2018
commit 1f45ad2768788ee30ef5530459dfdc01b5638284
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 18 16:12:53 2018 +0200
- single pflags utility is enough
python-linux-procfs.spec | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec
index 5d90267..7f7d02b 100644
--- a/python-linux-procfs.spec
+++ b/python-linux-procfs.spec
@@ -1,7 +1,4 @@
#
-# TODO:
-# - verify where /usr/bin/pflags should go
-#
# Conditional build:
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
@@ -79,10 +76,12 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
+%if %{without python3}
+%attr(755,root,root) %{_bindir}/pflags
+%endif
%{py_sitescriptdir}/procfs
%if "%{py_ver}" > "2.4"
-#%{py_sitescriptdir}/python_linux_procfs-%{version}-py*.egg-info
-%{py_sitescriptdir}/python_linux_procfs-0.6-py*.egg-info
+%{py_sitescriptdir}/python_linux_procfs-%{version}-py*.egg-info
%endif
%endif
@@ -91,6 +90,5 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/pflags
%{py3_sitescriptdir}/procfs
-#%{py3_sitescriptdir}/python_linux_procfs-%{version}-py*.egg-info
-%{py3_sitescriptdir}/python_linux_procfs-0.6-py*.egg-info
+%{py3_sitescriptdir}/python_linux_procfs-%{version}-py*.egg-info
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-linux-procfs.git/commitdiff/1f45ad2768788ee30ef5530459dfdc01b5638284
More information about the pld-cvs-commit
mailing list