Add missing %license macro

This commit is contained in:
Stephen Gallagher 2017-02-01 20:01:52 -05:00
parent c92a3e6ae8
commit 26fe0dfe58
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3

View File

@ -3,7 +3,7 @@
Summary: A tool for creating scanners (text pattern recognizers) Summary: A tool for creating scanners (text pattern recognizers)
Name: flex Name: flex
Version: 2.6.1 Version: 2.6.1
Release: 2%{?dist} Release: 3%{?dist}
# parse.c and parse.h are under GPLv3+ with exception which allows # parse.c and parse.h are under GPLv3+ with exception which allows
# relicensing. Since flex is shipped under BDS-style license, # relicensing. Since flex is shipped under BDS-style license,
# let's assume that the relicensing was done. # let's assume that the relicensing was done.
@ -120,7 +120,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files -f flex.lang %files -f flex.lang
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_pkgdocdir} %dir %{_pkgdocdir}
%{_pkgdocdir}/COPYING %license COPYING
%{_pkgdocdir}/NEWS %{_pkgdocdir}/NEWS
%{_pkgdocdir}/README %{_pkgdocdir}/README
%{_bindir}/* %{_bindir}/*
@ -131,7 +131,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_pkgdocdir} %dir %{_pkgdocdir}
%{_pkgdocdir}/COPYING %license COPYING
%{_libdir}/*.a %{_libdir}/*.a
%files doc %files doc
@ -139,6 +139,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_pkgdocdir} %{_pkgdocdir}
%changelog %changelog
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.6.1-3
- Add missing %%license macro
* Sun Sep 25 2016 Patsy Franklin <pfrankli@redhat.com> - 2.6.1-2 * Sun Sep 25 2016 Patsy Franklin <pfrankli@redhat.com> - 2.6.1-2
- Fix several type comparison issues including BZ #1373601 - Fix several type comparison issues including BZ #1373601