[lz4/el6] Update to lz4-r118

pjp pjp at fedoraproject.org
Wed Jul 2 17:39:23 UTC 2014


commit 17381f1bab708d60e42f25830ec4ea3ae736e247
Author: P J P <pjp at fedoraproject.org>
Date:   Wed Jul 2 23:09:23 2014 +0530

    Update to lz4-r118

 .gitignore |    1 +
 lz4.spec   |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 sources    |    2 +-
 3 files changed, 62 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 32ebd54..422cfac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /lz4-r107.tar.gz
 /lz4-r108.tar.gz
 /lz4-r110.tar.gz
+/lz4-r118.tar.gz
diff --git a/lz4.spec b/lz4.spec
index eff7b75..b3c3aef 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -1,15 +1,18 @@
 %global _hardened_build 1
 
 Name:           lz4
-Version:        r110
+Version:        r118
 Release:        1%{?dist}
 Summary:        Extremely fast compression algorithm
 
 Group:          Applications/System
-License:        GPLv2
+License:        GPLv2+ and BSD
 URL:            https://code.google.com/p/lz4/
-Source0:        https://lz4.googlecode.com/files/%{name}-%{version}.tar.gz
+Source0:        https://github.com/Cyan4973/lz4/archive/%{version}/%{name}-%{version}.tar.gz
+
+%if 0%{?rhel}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+%endif
 
 %description
 LZ4 is an extremely fast loss-less compression algorithm, providing compression
@@ -17,26 +20,77 @@ speed at 400 MB/s per core, scalable with multi-core CPU. It also features
 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
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+This package contains the header(.h) and library(.so) files required to build
+applications using liblz4 library.
+
 %prep
 %setup -q
 
 
 %build
+export CFLAGS="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 
 %install
-make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p"
+make install PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+    LIBDIR=$RPM_BUILD_ROOT%{_libdir} INSTALL="install -p"
+chmod -x $RPM_BUILD_ROOT%{_includedir}/*.h
+rm $RPM_BUILD_ROOT%{_libdir}/liblz4.a
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 
 %files
-%doc COPYING NEWS
+%doc programs/COPYING NEWS
 %{_bindir}/lz4
 %{_bindir}/lz4c
-%{_mandir}/man1/lz4.1.gz
+%{_bindir}/lz4cat
+%{_mandir}/man1/lz4*
+%{_libdir}/liblz4.so.1*
+
 
+%files devel
+%doc LICENSE
+%{_includedir}/*.h
+%{_libdir}/liblz4.so
 
 %changelog
+* Sat Jun 28 2014 pjp <pjp at fedoraproject.org> - r118-1
+- new release
+- install libraries under appropriate _libdir directories.
+
+* Sat Jun 14 2014 pjp <pjp at fedoraproject.org> - r117-3
+- Move shared library object to -devel package.
+
+* Sat Jun 07 2014 pjp <pjp at fedoraproject.org> - r117-2
+- Skip static library from installation.
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - r117-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Fri Jun 06 2014 pjp <pjp at fedoraproject.org> - r117-1
+- new release
+- added lz4c & lz4cat manual pages.
+
+* Sun Apr 13 2014 pjp <pjp at fedoraproject.org> - r116-1
+- new release 116
+- added lz4cat utility for posix systems
+
+* Sat Mar 15 2014 pjp <pjp at fedoraproject.org> - r114-1
+- new release r114
+- added RPM_OPT_FLAGS to CFLAGS
+- introduced a devel package to build liblz4
+
 * Thu Jan 02 2014 pjp <pjp at fedoraproject.org> - r110-1
 - new release r110
 
diff --git a/sources b/sources
index cf698e1..f41fa66 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-666b7213c99c1764a7daaf8ede02698b  lz4-r110.tar.gz
+7b155d93c6e5d48494f8bfd32f831440  lz4-r118.tar.gz


More information about the scm-commits mailing list