fix license handling
This commit is contained in:
parent
8ec3cd6cdf
commit
a23f122b97
@ -9,7 +9,7 @@
|
||||
Summary: Linux Key Management Utilities
|
||||
Name: keyutils
|
||||
Version: %{version}
|
||||
Release: 2%{?buildid}%{?dist}
|
||||
Release: 3%{?buildid}%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Base
|
||||
ExclusiveOS: Linux
|
||||
@ -85,7 +85,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENCE.GPL
|
||||
%doc README
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENCE.GPL
|
||||
%{_sbindir}/*
|
||||
%{_bindir}/*
|
||||
%{datadir}
|
||||
@ -96,7 +98,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENCE.LGPL
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENCE.LGPL
|
||||
%{_mandir}/man7/*
|
||||
%{_libdir}/libkeyutils.so.%{libapiversion}
|
||||
%{_libdir}/libkeyutils.so.%{libapivermajor}
|
||||
@ -108,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user