[diffutils/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 21:45:51 UTC 2014


commit 9f25f6e3a47ed1828312c2541e65e2852aeb5892
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 17:46:09 2014 -0400

    fix license handling

 diffutils.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/diffutils.spec b/diffutils.spec
index 8e59ad4..828c79d 100644
--- a/diffutils.spec
+++ b/diffutils.spec
@@ -1,7 +1,7 @@
 Summary: A GNU collection of diff utilities
 Name: diffutils
 Version: 3.3
-Release: 7%{?dist}
+Release: 8%{?dist}
 Group: Applications/Text
 URL: http://www.gnu.org/software/diffutils/diffutils.html
 Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
@@ -78,12 +78,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc COPYING NEWS README
+%doc NEWS README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %{_bindir}/*
 %{_mandir}/*/*
 %{_infodir}/diffutils.info*gz
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 3.3-8
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.3-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list