fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 18:41:11 -04:00
parent 262ae1a05a
commit b46167a5ed

View File

@ -1,6 +1,6 @@
Name: kmod
Version: 18
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Linux kernel module management utilities
Group: System Environment/Kernel
@ -98,9 +98,11 @@ install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
%{_datadir}/bash-completion/completions/kmod
%attr(0644,root,root) %{_mandir}/man5/*.5*
%attr(0644,root,root) %{_mandir}/man8/*.8*
%doc NEWS README TODO COPYING
%doc NEWS README TODO
%files libs
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/libkmod.so.*
%files devel
@ -109,6 +111,9 @@ install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
%{_libdir}/libkmod.so
%changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 18-2
- fix license handling
* Tue Jun 24 2014 Josh Boyer <jwboyer@fedoraproject.org> - 18-1
- Update to version 18