diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..57ba749 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (fastlz|minilzo|zlib)"); diff --git a/miniz.spec b/miniz.spec index 31e29b8..9a530d9 100644 --- a/miniz.spec +++ b/miniz.spec @@ -2,9 +2,8 @@ Name: miniz Version: 1.15 -Release: 8.%{miniz_revision}%{?dist} +Release: 9.%{miniz_revision}%{?dist} Summary: Compression library implementing the zlib and Deflate -Group: System Environment/Libraries License: Unlicense URL: https://code.google.com/p/%{name}/ Source0: https://%{name}.googlecode.com/files/%{name}_v%(echo '%{version}' | tr -d .)_%{miniz_revision}.7z @@ -27,7 +26,6 @@ been tuned to be comparable to zlib's, and it also has a specialized real-time compressor function designed to compare well against fastlz/minilzo. %package devel -Group: Development/Libraries Summary: Development files for the %{name} library Requires: %{name}%{?_isa} = %{version}-%{release} Requires: gcc%{?_isa} @@ -73,9 +71,7 @@ ln -s %{soname} '%{buildroot}/%{_libdir}/lib%{name}.so' install -d '%{buildroot}/%{_includedir}' install -m 0644 %{name}.h '%{buildroot}/%{_includedir}' -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{_libdir}/%{soname} @@ -86,6 +82,9 @@ install -m 0644 %{name}.h '%{buildroot}/%{_includedir}' %changelog +* Fri Mar 23 2018 Petr Pisar - 1.15-9.r4 +- Modernize a spec file + * Thu Feb 08 2018 Fedora Release Engineering - 1.15-8.r4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild