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)
Name: flex
Version: 2.6.1
Release: 2%{?dist}
Release: 3%{?dist}
# parse.c and parse.h are under GPLv3+ with exception which allows
# relicensing. Since flex is shipped under BDS-style license,
# let's assume that the relicensing was done.
@ -120,7 +120,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files -f flex.lang
%defattr(-,root,root)
%dir %{_pkgdocdir}
%{_pkgdocdir}/COPYING
%license COPYING
%{_pkgdocdir}/NEWS
%{_pkgdocdir}/README
%{_bindir}/*
@ -131,7 +131,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files devel
%defattr(-,root,root)
%dir %{_pkgdocdir}
%{_pkgdocdir}/COPYING
%license COPYING
%{_libdir}/*.a
%files doc
@ -139,6 +139,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_pkgdocdir}
%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
- Fix several type comparison issues including BZ #1373601