[groff] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 15:36:32 UTC 2014


commit 9ed79ec1913aa077ca4f3c551bb0588e2713f606
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 11:36:47 2014 -0400

    fix license handling

 groff.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/groff.spec b/groff.spec
index 12b4a34..46cd730 100644
--- a/groff.spec
+++ b/groff.spec
@@ -3,7 +3,7 @@
 Summary: A document formatting system
 Name: groff
 Version: 1.22.2
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv3+ and GFDL and BSD and MIT
 Group: Applications/Publishing
 URL: http://www.gnu.org/software/groff/
@@ -232,7 +232,9 @@ fi
 %{_infodir}/groff.info*
 
 %files base
-%doc BUG-REPORT COPYING FDL LICENSES MORE.STUFF NEWS PROBLEMS
+%{!?_licensedir:%global license %%doc}
+%license COPYING FDL LICENSES
+%doc BUG-REPORT MORE.STUFF NEWS PROBLEMS
 # configuration
 %dir %{_sysconfdir}/groff/
 %config(noreplace) %{_sysconfdir}/groff/*
@@ -399,6 +401,9 @@ fi
 %doc %{_pkgdocdir}/pdf/
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org> - 1.22.2-10
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.22.2-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list