use python site arch macros (#1303610)

This commit is contained in:
Steve Grubb 2016-02-03 17:50:12 +01:00
parent 92aa0a78f6
commit 1cbe83e779

View File

@ -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 <sgrubb@redhat.com> 0.7.7-4
- use python site arch macros (#1303610)
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5