fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 18:31:40 -04:00
parent 8ec3cd6cdf
commit a23f122b97

View File

@ -9,7 +9,7 @@
Summary: Linux Key Management Utilities Summary: Linux Key Management Utilities
Name: keyutils Name: keyutils
Version: %{version} Version: %{version}
Release: 2%{?buildid}%{?dist} Release: 3%{?buildid}%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: System Environment/Base Group: System Environment/Base
ExclusiveOS: Linux ExclusiveOS: Linux
@ -85,7 +85,9 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README LICENCE.GPL %doc README
%{!?_licensedir:%global license %%doc}
%license LICENCE.GPL
%{_sbindir}/* %{_sbindir}/*
%{_bindir}/* %{_bindir}/*
%{datadir} %{datadir}
@ -96,7 +98,8 @@ rm -rf $RPM_BUILD_ROOT
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENCE.LGPL %{!?_licensedir:%global license %%doc}
%license LICENCE.LGPL
%{_mandir}/man7/* %{_mandir}/man7/*
%{_libdir}/libkeyutils.so.%{libapiversion} %{_libdir}/libkeyutils.so.%{libapiversion}
%{_libdir}/libkeyutils.so.%{libapivermajor} %{_libdir}/libkeyutils.so.%{libapivermajor}
@ -108,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 1.5.9-3
- fix license handling
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.9-2 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild