[coreutils] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 20:44:15 UTC 2014


commit 8246976bb3d1f40cf5f32c34a924fb431a7b9eb5
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 16:44:33 2014 -0400

    fix license handling

 coreutils.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/coreutils.spec b/coreutils.spec
index 0d202ff..442b99b 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -1,7 +1,7 @@
 Summary: A set of basic GNU tools commonly used in shell scripts
 Name:    coreutils
 Version: 8.22
-Release: 16%{?dist}
+Release: 17%{?dist}
 License: GPLv3+
 Group:   System Environment/Base
 Url:     http://www.gnu.org/software/coreutils/
@@ -269,7 +269,9 @@ fi
 %dir %{_datadir}/locale/*/LC_TIME
 %config(noreplace) %{_sysconfdir}/DIR_COLORS*
 %config(noreplace) %{_sysconfdir}/profile.d/*
-%doc COPYING ABOUT-NLS ChangeLog.bz2 NEWS README THANKS TODO old/*
+%doc ABOUT-NLS ChangeLog.bz2 NEWS README THANKS TODO old/*
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %{_bindir}/arch
 %{_bindir}/basename
 %{_bindir}/cat
@@ -377,6 +379,9 @@ fi
 %{_sbindir}/chroot
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 8.22-17
+- fix license handling
+
 * Mon Jun 23 2014 Jakub Čajka <jcajka at redhat.com> - 8.22-16
 - fix failed tests on ppc(backport from gnulib upstream)
 


More information about the scm-commits mailing list