[sed/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Mon Aug 4 05:02:59 UTC 2014


commit a96f2ea65a165097702226ecb4a28b99c8a722d0
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Aug 4 01:02:53 2014 -0400

    fix license handling

 sed.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/sed.spec b/sed.spec
index 87f6662..43a2d5d 100644
--- a/sed.spec
+++ b/sed.spec
@@ -6,7 +6,7 @@
 Summary: A GNU stream text editor
 Name: sed
 Version: 4.2.2
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv3+
 Group: Applications/Text
 URL: http://sed.sourceforge.net/
@@ -65,12 +65,17 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz COPYING COPYING.DOC
+%{!?_licensedir:%global license %%doc}
+%license COPYING COPYING.DOC
+%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz
 %{_bindir}/sed
 %{_infodir}/*.info*
 %{_mandir}/man*/*
 
 %changelog
+* Mon Aug  4 2014 Tom Callaway <spot at fedoraproject.org> - 4.2.2-8
+- fix license handling
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.2.2-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list