fix license handling

This commit is contained in:
Tom Callaway 2014-07-17 14:14:05 -04:00
parent 6791248f47
commit 39893e9858

View File

@ -3,7 +3,7 @@
Summary: An alternate posix capabilities library
Name: libcap-ng
Version: 0.7.4
Release: 5%{?dist}
Release: 6%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
@ -90,7 +90,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING.LIB
%{!?_licensedir:%global license %%doc}
%license COPYING.LIB
%attr(0755,root,root) /%{_lib}/libcap-ng.so.*
%files devel
@ -108,11 +109,15 @@ rm -rf $RPM_BUILD_ROOT
%files utils
%defattr(-,root,root,-)
%doc COPYING
%{!?_licensedir:%global license %%doc}
%license COPYING
%attr(0755,root,root) %{_bindir}/*
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 0.7.4-6
- fix license handling
* Mon Jun 23 2014 Kyle McMartin <kyle@redhat.com> 0.7.4-5
- Clamp CAP_LAST_CAP at /proc/sys/kernel/cap_last_cap's value in the
Python bindings test if possible, otherwise use the value from