[chkconfig] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 20:35:26 UTC 2014


commit 481bf63c1ffa2630850cdfc70bbb52614e47f199
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 16:35:43 2014 -0400

    fix license handling

 chkconfig.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/chkconfig.spec b/chkconfig.spec
index 80c23d5..2dab7a7 100644
--- a/chkconfig.spec
+++ b/chkconfig.spec
@@ -1,7 +1,7 @@
 Summary: A system tool for maintaining the /etc/rc*.d hierarchy
 Name: chkconfig
 Version: 1.3.61
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Source: http://fedorahosted.org/releases/c/h/chkconfig/%{name}-%{version}.tar.bz2
@@ -53,7 +53,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %dir /etc/alternatives
 /sbin/chkconfig
 %{_sbindir}/update-alternatives
@@ -75,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/*/ntsysv.8*
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 1.3.61-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.61-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list