From d725d9b07ece8951373f5144229adea27b0e6c19 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 6 Aug 2014 09:07:36 +0200 Subject: [PATCH] fix license handling --- texinfo.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/texinfo.spec b/texinfo.spec index e0b68db..9db620c 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -3,7 +3,7 @@ Summary: Tools needed to create Texinfo format documentation files Name: texinfo Version: 5.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: Applications/Publishing Url: http://www.gnu.org/software/texinfo/ @@ -118,7 +118,9 @@ fi %files -f %{name}.lang -f %{name}_document.lang -%doc AUTHORS ChangeLog NEWS README TODO COPYING +%doc AUTHORS ChangeLog NEWS README TODO +%{!?_licensedir:%global license %%doc} +%license COPYING %{_bindir}/makeinfo %{_bindir}/texi2any %{_bindir}/pod2texi @@ -131,7 +133,8 @@ fi %files -n info %config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir -%doc COPYING +%{!?_licensedir:%global license %%doc} +%license COPYING %{_bindir}/info %{_bindir}/infokey %{_infodir}/info.info* @@ -154,6 +157,9 @@ fi %{_mandir}/man1/pdftexi2dvi.1* %changelog +* Wed Aug 6 2014 Tom Callaway - 5.2-4 +- fix license handling + * Sun Jun 08 2014 Fedora Release Engineering - 5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild