From 64dfe52e1433b7f8890b557df242b7840d67edae Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 11 Jul 2014 17:01:32 -0400 Subject: [PATCH] fix license handling --- crontabs.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 - 1.11-9.20130830git +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.11-8.20130830git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild