From 6c43953109da23f8ceb87a0e73e1cefa801ce152 Mon Sep 17 00:00:00 2001 From: P J P Date: Nov 21 2016 06:30:33 +0000 Subject: Update to lz4-v1.7.3 --- diff --git a/.gitignore b/.gitignore index 3292283..5871825 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /lz4-7d182b816ace89d6d6d16b7aee376a9962a05caa.tar.gz /lz4-baf78e7e4dcbdf824a76f990ffeb573d113bbbdb.tar.gz /lz4-d86dc916771c126afb797637dda9f6421c0cb998.tar.gz +/lz4-1.7.3.tar.gz diff --git a/lz4.spec b/lz4.spec index c393c01..b035e30 100644 --- a/lz4.spec +++ b/lz4.spec @@ -1,19 +1,11 @@ -%global _hardened_build 1 -%global commit d86dc916771c126afb797637dda9f6421c0cb998 - Name: lz4 -Version: r131 +Version: 1.7.3 Release: 1%{?dist} Summary: Extremely fast compression algorithm -Group: Applications/System License: GPLv2+ and BSD -URL: https://code.google.com/p/lz4/ -Source0: https://github.com/Cyan4973/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz - -%if 0%{?rhel} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -%endif +URL: https://lz4.github.io/lz4/ +Source0: https://github.com/Cyan4973/lz4/archive/v%{version}/%{name}-%{version}.tar.gz %description LZ4 is an extremely fast loss-less compression algorithm, providing compression @@ -22,69 +14,66 @@ an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. %package devel -Summary: Development library for lz4 -Group: Development/Libraries -License: BSD +Summary: Development files for lz4 Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the header(.h) and library(.so) files required to build applications using liblz4 library. - %package static Summary: Static library for lz4 -Group: Development/Libraries -License: BSD %description static LZ4 is an extremely fast loss-less compression algorithm. This package contains static libraries for static linking of applications. %prep -%setup -q -n %{name}-%{commit} +%autosetup echo '#!/bin/sh' > ./configure chmod +x ./configure %build %configure -make %{?_smp_mflags} - +%make_build %install %configure -%make_install LIBDIR=%{_libdir} PREFIX=/usr INSTALL="install -p" -chmod -x %{buildroot}%{_includedir}/*.h - +%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} INSTALL="install -p" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig - %files -%doc programs/COPYING NEWS +%license programs/COPYING lib/LICENSE +%doc NEWS %{_bindir}/lz4 %{_bindir}/lz4c %{_bindir}/lz4cat %{_bindir}/unlz4 -%{_mandir}/man1/lz4* -%{_mandir}/man1/unlz4* -%{_libdir}/liblz4.so.1* - +%{_mandir}/man1/lz4.1* +%{_mandir}/man1/lz4c.1* +%{_mandir}/man1/lz4cat.1* +%{_mandir}/man1/unlz4.1* +%{_libdir}/liblz4.so.* %files devel %doc lib/LICENSE -%{_includedir}/*.h +%{_includedir}/lz4*.h %{_libdir}/liblz4.so %{_libdir}/pkgconfig/liblz4.pc - %files static %doc lib/LICENSE %{_libdir}/liblz4.a - %changelog +* Sat Nov 19 2016 Igor Gnatenko - 1.7.3-1 +- Update to 1.7.3 (RHBZ #1395458) + +* Thu Feb 04 2016 Fedora Release Engineering - r131-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Mon Jul 06 2015 pjp - r131-1 - New: Dos/DJGPP target #114. - Added: Example using lz4frame library #118. diff --git a/sources b/sources index 4fa9a4c..077aa6e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0ee49488ab052fed6aa3fd85e21c0f16 lz4-d86dc916771c126afb797637dda9f6421c0cb998.tar.gz +7e94b203f8c85e600c430017a9ef8b3d lz4-1.7.3.tar.gz