[kmod/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 22:41:08 UTC 2014


commit eea833ebfb819445e7a6ec1373cc615ee95d649c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 18:41:29 2014 -0400

    fix license handling

 kmod.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/kmod.spec b/kmod.spec
index 3333d0e..1ed713d 100644
--- a/kmod.spec
+++ b/kmod.spec
@@ -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 at fedoraproject.org> - 18-2
+- fix license handling
+
 * Tue Jun 24 2014 Josh Boyer <jwboyer at fedoraproject.org> - 18-1
 - Update to version 18
 


More information about the scm-commits mailing list