[grubby/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 15:39:32 UTC 2014


commit 1cbb0edcd8b4fe43ebc1b0dda834135038c2f440
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 11:39:48 2014 -0400

    fix license handling

 grubby.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/grubby.spec b/grubby.spec
index 32cfeef..266c32d 100644
--- a/grubby.spec
+++ b/grubby.spec
@@ -1,6 +1,6 @@
 Name: grubby
 Version: 8.35
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Command line tool for updating bootloader configs
 Group: System Environment/Base
 License: GPLv2+
@@ -64,7 +64,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 /sbin/installkernel
 /sbin/new-kernel-pkg
 /sbin/grubby
@@ -75,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org> - 8.35-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 8.35-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list