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