Hello community,

here is the log from the commit of package lz4 for openSUSE:Factory checked in 
at 2014-07-17 17:31:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-07-16 16:22:05.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.lz4.new/lz4.changes     2014-07-17 
17:31:54.000000000 +0200
@@ -1,0 +2,9 @@
+Wed Jul 16 14:34:44 UTC 2014 - jeng...@inai.de
+
+- Update to svn revision 119, set version to 1.2.0 (based upon
+  Makefile contents; it's still odd to see the 1.4 Windows release)
+* Provide LZ4 as a shared library
+- Remove lz4-automake.diff (no longer deemed necessary)
+- Add lz4-use-shlib.diff
+
+-------------------------------------------------------------------

Old:
----
  lz4-automake.diff
  lz4-svn108.tar.xz

New:
----
  lz4-svn119.tar.lz
  lz4-use-shlib.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lz4.spec ++++++
--- /var/tmp/diff_new_pack.47zlsW/_old  2014-07-17 17:31:55.000000000 +0200
+++ /var/tmp/diff_new_pack.47zlsW/_new  2014-07-17 17:31:55.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lz4
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products 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,8 +17,8 @@
 
 
 Name:           lz4
-%define lname  liblz4-0s108
-Version:        1.4+svn108
+%define lname  liblz4-1
+Version:        1.2.0.r119
 Release:        0
 Summary:        Hash-based Predictive Lempel-Ziv compressor
 License:        GPL-2.0+ and BSD-2-Clause
@@ -28,14 +28,11 @@
 
 #SVN-Clone:    http://lz4.googlecode.com/svn/trunk
 # Project offers no source tarballs.
-Source:         %name-svn108.tar.xz
-Patch1:         lz4-automake.diff
+Source:         %name-svn119.tar.lz
+Patch1:         lz4-use-shlib.diff
 Patch2:         lz4-killdate.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  libtool >= 2
-BuildRequires:  xz
+BuildRequires:  lzip
 
 %description
 LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv)
@@ -76,23 +73,23 @@
 %patch -P 1 -P 2 -p1
 
 %build
-autoreconf -fi;
-%configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="%optflags"
 
 %install
-make install DESTDIR="%buildroot"
-rm -f "%buildroot/%_libdir"/*.la
-rm -f "%_bindir"/lz4
+make install DESTDIR="%buildroot" LIBDIR="%_libdir"
+rm -f "%buildroot/%_libdir"/*.a
+
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%_bindir/lz4c
-%_mandir/man1/lz4.1*
+%_bindir/lz4*
+%_mandir/man1/*.1*
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/liblz4-*.so
+%_libdir/liblz4.so.1*
 
 %files -n liblz4-devel
 %defattr(-,root,root)

++++++ lz4-killdate.diff ++++++
--- /var/tmp/diff_new_pack.47zlsW/_old  2014-07-17 17:31:55.000000000 +0200
+++ /var/tmp/diff_new_pack.47zlsW/_new  2014-07-17 17:31:55.000000000 +0200
@@ -1,31 +1,31 @@
 ---
- fullbench.c |    2 +-
- lz4c.c      |    2 +-
+ programs/fullbench.c |    2 +-
+ programs/lz4cli.c    |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-Index: trunk/fullbench.c
+Index: trunk/programs/fullbench.c
 ===================================================================
---- trunk.orig/fullbench.c
-+++ trunk/fullbench.c
-@@ -105,7 +105,7 @@
- //****************************
- #define COMPRESSOR_NAME "LZ4 speed analyzer"
- #define COMPRESSOR_VERSION ""
--#define COMPILED __DATE__
-+#define COMPILED "SUSE"
- #define AUTHOR "Yann Collet"
- #define WELCOME_MESSAGE "*** %s %s %i-bits, by %s (%s) ***\n", 
COMPRESSOR_NAME, COMPRESSOR_VERSION, (int)(sizeof(void*)*8), AUTHOR, COMPILED
- 
-Index: trunk/lz4cli.c
+--- trunk.orig/programs/fullbench.c
++++ trunk/programs/fullbench.c
+@@ -109,7 +109,7 @@
+ #  define LZ4_VERSION ""
+ #endif
+ #define AUTHOR "Yann Collet"
+-#define WELCOME_MESSAGE "*** %s %s %i-bits, by %s (%s) ***\n", 
PROGRAM_DESCRIPTION, LZ4_VERSION, (int)(sizeof(void*)*8), AUTHOR, __DATE__
++#define WELCOME_MESSAGE "*** %s %s %i-bits, by %s (%s) ***\n", 
PROGRAM_DESCRIPTION, LZ4_VERSION, (int)(sizeof(void*)*8), AUTHOR, "SUSE"
+ 
+ #define NBLOOPS    6
+ #define TIMELOOP   2500
+Index: trunk/programs/lz4cli.c
 ===================================================================
---- trunk.orig/lz4cli.c
-+++ trunk/lz4cli.c
-@@ -108,7 +108,7 @@
- //****************************
- #define COMPRESSOR_NAME "LZ4 Compression CLI"
- #define COMPRESSOR_VERSION "v1.0.8"
--#define COMPILED __DATE__
-+#define COMPILED "SUSE"
- #define AUTHOR "Yann Collet"
- #define LZ4_EXTENSION ".lz4"
- #define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", 
COMPRESSOR_NAME, (int)(sizeof(void*)*8), COMPRESSOR_VERSION, AUTHOR, COMPILED
+--- trunk.orig/programs/lz4cli.c
++++ trunk/programs/lz4cli.c
+@@ -112,7 +112,7 @@
+ #  define LZ4_VERSION "v1.2.0"
+ #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"
+ 

++++++ lz4-use-shlib.diff ++++++
---
 programs/Makefile |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: trunk/programs/Makefile
===================================================================
--- trunk.orig/programs/Makefile
+++ trunk/programs/Makefile
@@ -69,11 +69,11 @@ default: lz4 lz4c
 
 all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 datagen
 
-lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c
-       $(CC)      $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT)
+lz4: bench.c xxhash.c lz4io.c lz4cli.c
+       $(CC)      $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) 
-L${LZ4DIR} -llz4
 
-lz4c  : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c
-       $(CC)      $(FLAGS) $^ -o $@$(EXT)
+lz4c: bench.c xxhash.c lz4io.c lz4cli.c
+       $(CC)      $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4
 
 lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c
        $(CC) -m32 $(FLAGS) $^ -o $@$(EXT)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to