From 1cbe83e77933a1a7506b7c54ef3d586449b8707d Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Wed, 3 Feb 2016 17:50:12 +0100 Subject: [PATCH] use python site arch macros (#1303610) --- libcap-ng.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libcap-ng.spec b/libcap-ng.spec index 0fe4209..8a7a39f 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -3,7 +3,7 @@ Summary: An alternate posix capabilities library Name: libcap-ng Version: 0.7.7 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://people.redhat.com/sgrubb/libcap-ng @@ -113,12 +113,12 @@ rm -rf $RPM_BUILD_ROOT %files python %defattr(-,root,root,-) -%attr(755,root,root) /%{_libdir}/python?.?/site-packages/_capng.so +%attr(755,root,root) %{python2_sitearch}/_capng.so %{python_sitearch}/capng.py* %files python3 %defattr(-,root,root,-) -%attr(755,root,root) /%{_libdir}/python3.?/site-packages/* +%attr(755,root,root) %{python3_sitearch}/* %{python3_sitearch}/capng.py* %files utils @@ -129,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT %attr(0644,root,root) %{_mandir}/man8/* %changelog +* Wed Feb 03 2016 Steve Grubb 0.7.7-4 +- use python site arch macros (#1303610) + * Tue Nov 10 2015 Fedora Release Engineering - 0.7.7-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5