diff --git a/.gitignore b/.gitignore index 0da3329..4c44fcb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /lz4-r108.tar.gz /lz4-r110.tar.gz /lz4-r116.tar.gz +/lz4-r117.tar.gz diff --git a/lz4.spec b/lz4.spec index 7a454a7..31421b3 100644 --- a/lz4.spec +++ b/lz4.spec @@ -1,14 +1,14 @@ %global _hardened_build 1 Name: lz4 -Version: r116 +Version: r117 Release: 1%{?dist} Summary: Extremely fast compression algorithm Group: Applications/System License: GPLv2 URL: https://code.google.com/p/lz4/ -Source0: https://dl.dropboxusercontent.com/u/59565338/LZ4/%{name}-%{version}.tar.gz +Source0: https://github.com/Cyan4973/lz4/archive/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description @@ -38,19 +38,15 @@ make %{?_smp_mflags} %install make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p" +chmod -x $RPM_BUILD_ROOT%{_includedir}/*.h +chmod -x $RPM_BUILD_ROOT%{_usr}/lib/liblz4.a -%post devel -/sbin/ldconfig -/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info || : - - -%preun devel -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig @@ -59,17 +55,21 @@ fi %{_bindir}/lz4 %{_bindir}/lz4c %{_bindir}/lz4cat -%{_mandir}/man1/lz4.1.gz +%{_mandir}/man1/lz4* +%{_usr}/lib/liblz4.so* %files devel %defattr (-, root, root, -) %doc LICENSE NEWS %{_includedir}/*.h -%{_usr}/lib/liblz4* - +%{_usr}/lib/liblz4.a %changelog +* Fri Jun 06 2014 pjp - r117-1 +- new release +- added lz4c & lz4cat manual pages. + * Sun Apr 13 2014 pjp - r116-1 - new release 116 - added lz4cat utility for posix systems diff --git a/sources b/sources index c8bf1af..c7e0ba6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b744d60f74bd999bd195c3afba575106 lz4-r116.tar.gz +162b87ff689e1261b7e6d58c36c4bb5f lz4-r117.tar.gz