fix license handling

This commit is contained in:
Tom Callaway 2014-08-06 09:05:41 +02:00
parent 379f1370ec
commit 58ecabc2ed

View File

@ -3,7 +3,7 @@
Summary: Tools needed to create Texinfo format documentation files Summary: Tools needed to create Texinfo format documentation files
Name: texinfo Name: texinfo
Version: 5.2 Version: 5.2
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Publishing Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/ Url: http://www.gnu.org/software/texinfo/
@ -118,7 +118,9 @@ fi
%files -f %{name}.lang -f %{name}_document.lang %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}/makeinfo
%{_bindir}/texi2any %{_bindir}/texi2any
%{_bindir}/pod2texi %{_bindir}/pod2texi
@ -131,7 +133,8 @@ fi
%files -n info %files -n info
%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir %config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir
%doc COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%{_bindir}/info %{_bindir}/info
%{_bindir}/infokey %{_bindir}/infokey
%{_infodir}/info.info* %{_infodir}/info.info*
@ -154,6 +157,9 @@ fi
%{_mandir}/man1/pdftexi2dvi.1* %{_mandir}/man1/pdftexi2dvi.1*
%changelog %changelog
* Wed Aug 6 2014 Tom Callaway <spot@fedoraproject.org> - 5.2-4
- fix license handling
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild