[findutils/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 14:50:12 UTC 2014


commit 3361f626e0ca0bad99cfd8c3122d67211c2c6217
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 10:50:31 2014 -0400

    fix license handling

 findutils.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/findutils.spec b/findutils.spec
index 7ea0d78..4fe4e8f 100644
--- a/findutils.spec
+++ b/findutils.spec
@@ -1,7 +1,7 @@
 Summary: The GNU versions of find utilities (find and xargs)
 Name: findutils
 Version: 4.5.12
-Release: 5%{?dist}
+Release: 6%{?dist}
 Epoch: 1
 License: GPLv3+
 Group: Applications/File
@@ -87,7 +87,9 @@ if [ $1 = 0 ]; then
 fi
 
 %files -f %{name}.lang
-%doc AUTHORS COPYING NEWS README THANKS TODO
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS NEWS README THANKS TODO
 %{_bindir}/find
 %{_bindir}/oldfind
 %{_bindir}/xargs
@@ -98,6 +100,9 @@ fi
 %{_infodir}/find-maint.info.gz
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org> - 1:4.5.12-6
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:4.5.12-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list