[crontabs] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 21:01:14 UTC 2014


commit 64dfe52e1433b7f8890b557df242b7840d67edae
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 17:01:32 2014 -0400

    fix license handling

 crontabs.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/crontabs.spec b/crontabs.spec
index 49040fc..d006cce 100644
--- a/crontabs.spec
+++ b/crontabs.spec
@@ -2,7 +2,7 @@
 Summary: Root crontab files used to schedule the execution of programs
 Name: crontabs
 Version: 1.11
-Release: 8.%{snap_release}%{?dist}
+Release: 9.%{snap_release}%{?dist}
 License: Public Domain and GPLv2
 Group: System Environment/Base
 URL: https://fedorahosted.org/crontabs 
@@ -46,6 +46,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %config(noreplace) /etc/crontab
 %attr(0644,root,root) %config(noreplace) /etc/sysconfig/run-parts
 %{_bindir}/run-parts
@@ -56,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man4/*
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 1.11-9.20130830git
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.11-8.20130830git
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list