Hello community,
here is the log from the commit of package lz4 for openSUSE:Factory checked in at 2016-04-07 13:35:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lz4 (Old)
and /work/SRC/openSUSE:Factory/.lz4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lz4"
Changes:
--------
--- /work/SRC/openSUSE:Factory/lz4/lz4.changes 2014-12-05 21:04:00.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.lz4.new/lz4.changes 2016-04-07 13:35:48.000000000 +0200
@@ -1,0 +2,9 @@
+Sat Apr 2 19:26:32 UTC 2016 - jengelh@inai.de
+
+- Update to new upstream release 131 (library 1.7) (boo#973735)
+* slightly improved decoding speed
+* lz4frame API is included in liblz4
+* new -m command line option to compress multiple files
+* new lz4 and lz4hc compression API (old one retained)
+
+-------------------------------------------------------------------
Old:
----
lz4-1.4.0+svn124.tar.xz
New:
----
r131.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lz4.spec ++++++
--- /var/tmp/diff_new_pack.cCFxEN/_old 2016-04-07 13:35:49.000000000 +0200
+++ /var/tmp/diff_new_pack.cCFxEN/_new 2016-04-07 13:35:49.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package lz4
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,27 @@
Name: lz4
-%define lname liblz4-1_4
-Version: 1.4.0+svn124
+%define lname liblz4-1_7
+Version: 131
Release: 0
-Summary: Hash-based Predictive Lempel-Ziv compressor
+Summary: Hash-based Predictive Lempel–Ziv compressor
License: GPL-2.0+ and BSD-2-Clause
Group: Productivity/Archiving/Compression
-Url: http://code.google.com/p/lz4/
-#URL: http://fastcompression.blogspot.com/p/lz4.html
+Url: http://lz4.org/
-#SVN-Clone: http://lz4.googlecode.com/svn/trunk
-# Project offers no source tarballs.
-Source: %name-%version.tar.xz
-Patch1: lz4-use-shlib.diff
-Patch2: lz4-killdate.diff
-Patch3: lz4-soversion.diff
+#Git-Clone: https://github.com/Cyan4973/lz4
+Source: https://github.com/Cyan4973/lz4/archive/r%version.tar.gz
+Patch1: lz4-soversion.diff
+Patch2: lz4-use-shlib.diff
+Patch3: lz4-killdate.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
-BuildRequires: xz
%description
-LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
-algorithm. It is a LZP2 fork and provides better compression ratio
-for text files.
+LZ4 is a lossless data compression algorithm that is focused on
+compression and decompression speed. It belongs to the LZ77
+(Lempel–Ziv) family of byte-oriented compression schemes. It is a
+LZP2 fork and provides better compression ratio for text files.
This subpackage provides a GPL command-line utility to make use of
the LZ4 algorithm.
@@ -50,9 +48,9 @@
Group: System/Libraries
%description -n %lname
-LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
-algorithm. It is a LZP2 fork and provides better compression ratio
-for text files.
+LZ4 is a lossless data compression algorithm that is focused on
+compression and decompression speed. It belongs to the LZ77
+(Lempel–Ziv) family of byte-oriented compression schemes. It is a
This subpackage contains the (de)compressor code as a shared library.
@@ -63,30 +61,37 @@
Requires: %lname = %version
%description -n liblz4-devel
-LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
-algorithm. It is a LZP2 fork and provides better compression ratio
-for text files.
+LZ4 is a lossless data compression algorithm that is focused on
+compression and decompression speed. It belongs to the LZ77
+(Lempel–Ziv) family of byte-oriented compression schemes. It is a
This subpackage contains libraries and header files for developing
applications that want to make use of liblz4.
%prep
-%setup -qn trunk
+%setup -qn %name-r%version
%patch -P 1 -P 2 -P 3 -p1
%build
-make %{?_smp_mflags} CFLAGS="%optflags"
+# Goddammit, lz4
+perl -i -pe 's{^\t@}{\t}g' Makefile */Makefile
+# don't bother building here, because make install builds it again - unconditionally :-(
%install
-make install DESTDIR="%buildroot" LIBDIR="%_libdir"
+make install CFLAGS="%optflags -DXXH_NAMESPACE=LZ4_" \
+ DESTDIR="%buildroot" PREFIX="%_prefix" LIBDIR="%_libdir"
rm -f "%buildroot/%_libdir"/*.a
+%check
+LD_LIBRARY_PATH="%buildroot/%_libdir" ldd -r "%buildroot/%_bindir/lz4"
+
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%defattr(-,root,root)
%_bindir/lz4*
+%_bindir/unlz4
%_mandir/man1/*.1*
%files -n %lname
++++++ lz4-killdate.diff ++++++
--- /var/tmp/diff_new_pack.cCFxEN/_old 2016-04-07 13:35:49.000000000 +0200
+++ /var/tmp/diff_new_pack.cCFxEN/_new 2016-04-07 13:35:49.000000000 +0200
@@ -8,11 +8,11 @@
programs/lz4cli.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-Index: trunk/programs/fullbench.c
+Index: lz4-r131/programs/fullbench.c
===================================================================
---- trunk.orig/programs/fullbench.c
-+++ trunk/programs/fullbench.c
-@@ -107,7 +107,7 @@
+--- lz4-r131.orig/programs/fullbench.c
++++ lz4-r131/programs/fullbench.c
+@@ -103,7 +103,7 @@
# define LZ4_VERSION ""
#endif
#define AUTHOR "Yann Collet"
@@ -21,16 +21,16 @@
#define NBLOOPS 6
#define TIMELOOP 2500
-Index: trunk/programs/lz4cli.c
+Index: lz4-r131/programs/lz4cli.c
===================================================================
---- trunk.orig/programs/lz4cli.c
-+++ trunk/programs/lz4cli.c
-@@ -116,7 +116,7 @@
- # define LZ4_VERSION "r122"
+--- lz4-r131.orig/programs/lz4cli.c
++++ lz4-r131/programs/lz4cli.c
+@@ -90,7 +90,7 @@
+ # define LZ4_VERSION "r128"
#endif
#define AUTHOR "Yann Collet"
-#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), LZ4_VERSION, AUTHOR, __DATE__
+#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), LZ4_VERSION, AUTHOR, "SUSE"
#define LZ4_EXTENSION ".lz4"
- #define LZ4_CAT "lz4cat"
-
+ #define LZ4CAT "lz4cat"
+ #define UNLZ4 "unlz4"
++++++ lz4-soversion.diff ++++++
--- /var/tmp/diff_new_pack.cCFxEN/_old 2016-04-07 13:35:49.000000000 +0200
+++ /var/tmp/diff_new_pack.cCFxEN/_new 2016-04-07 13:35:49.000000000 +0200
@@ -1,19 +1,26 @@
From: Jan Engelhardt