fix license handling

This commit is contained in:
Tom Callaway 2014-07-18 16:07:13 -04:00
parent 6c2b1e9635
commit 49d6557886

View File

@ -1,6 +1,6 @@
Name: lzo Name: lzo
Version: 2.08 Version: 2.08
Release: 1%{?dist} Release: 2%{?dist}
Summary: Data compression library with very fast (de)compression Summary: Data compression library with very fast (de)compression
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
@ -87,11 +87,15 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING THANKS NEWS %{!?_licensedir:%global license %%doc}
%license COPYING
%doc AUTHORS THANKS NEWS
%{_libdir}/liblzo2.so.* %{_libdir}/liblzo2.so.*
%files minilzo %files minilzo
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc minilzo/README.LZO %doc minilzo/README.LZO
%{_libdir}/libminilzo.so.0 %{_libdir}/libminilzo.so.0
@ -103,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 2.08-2
- fix license handling
* Mon Jun 30 2014 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 2.08-1 * Mon Jun 30 2014 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 2.08-1
- New upstream - New upstream
- Fix CVE-2014-4607 - Fix CVE-2014-4607