diff --git a/lz4-1.2.3+svn123.tar.xz b/lz4-1.2.3+svn123.tar.xz new file mode 100644 index 0000000..83eb8c5 --- /dev/null +++ b/lz4-1.2.3+svn123.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1485e5d1d672014f02f5f4b72d449be183ee4500fc72235a4314e7118c1565d3 +size 110180 diff --git a/lz4-killdate.diff b/lz4-killdate.diff index 5470188..bbb2471 100644 --- a/lz4-killdate.diff +++ b/lz4-killdate.diff @@ -7,7 +7,7 @@ Index: trunk/programs/fullbench.c =================================================================== --- trunk.orig/programs/fullbench.c +++ trunk/programs/fullbench.c -@@ -109,7 +109,7 @@ +@@ -107,7 +107,7 @@ # define LZ4_VERSION "" #endif #define AUTHOR "Yann Collet" @@ -20,8 +20,8 @@ Index: trunk/programs/lz4cli.c =================================================================== --- trunk.orig/programs/lz4cli.c +++ trunk/programs/lz4cli.c -@@ -112,7 +112,7 @@ - # define LZ4_VERSION "v1.2.0" +@@ -116,7 +116,7 @@ + # define LZ4_VERSION "r122" #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__ diff --git a/lz4-svn119.tar.lz b/lz4-svn119.tar.lz deleted file mode 100644 index e056093..0000000 --- a/lz4-svn119.tar.lz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96019c37ebf5546b5644eca7e79f5111aa784d877726641f3294147d04052fe9 -size 141631 diff --git a/lz4-use-shlib.diff b/lz4-use-shlib.diff index fa13ab9..40d5a8b 100644 --- a/lz4-use-shlib.diff +++ b/lz4-use-shlib.diff @@ -6,19 +6,19 @@ Index: trunk/programs/Makefile =================================================================== --- trunk.orig/programs/Makefile +++ trunk/programs/Makefile -@@ -69,11 +69,11 @@ default: lz4 lz4c +@@ -70,11 +70,11 @@ default: lz4 lz4c - all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 datagen + all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 frametest datagen --lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c +-lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c - $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -+lz4: bench.c xxhash.c lz4io.c lz4cli.c ++lz4: $(LZ4DIR)/xxhash.c bench.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 +-lz4c : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c - $(CC) $(FLAGS) $^ -o $@$(EXT) -+lz4c: bench.c xxhash.c lz4io.c lz4cli.c ++lz4c : $(LZ4DIR)/xxhash.c bench.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 + lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c $(CC) -m32 $(FLAGS) $^ -o $@$(EXT) diff --git a/lz4.changes b/lz4.changes index 7ea8f83..b5756ec 100644 --- a/lz4.changes +++ b/lz4.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Oct 1 12:18:15 UTC 2014 - jengelh@inai.de + +- Update to version 1.3.1+svn123 +* Added a pkgconfig file +* Fix a LZ4HC streaming bug +* Updated the framing specificaiton to 1.4.1 + ------------------------------------------------------------------- Wed Jul 16 14:34:44 UTC 2014 - jengelh@inai.de diff --git a/lz4.spec b/lz4.spec index 7a09145..e1b2024 100644 --- a/lz4.spec +++ b/lz4.spec @@ -18,7 +18,7 @@ Name: lz4 %define lname liblz4-1 -Version: 1.2.0.r119 +Version: 1.2.3+svn123 Release: 0 Summary: Hash-based Predictive Lempel-Ziv compressor License: GPL-2.0+ and BSD-2-Clause @@ -28,11 +28,12 @@ Url: http://code.google.com/p/lz4/ #SVN-Clone: http://lz4.googlecode.com/svn/trunk # Project offers no source tarballs. -Source: %name-svn119.tar.lz +Source: %name-%version.tar.xz Patch1: lz4-use-shlib.diff Patch2: lz4-killdate.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: lzip +BuildRequires: pkg-config +BuildRequires: xz %description LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv) @@ -95,5 +96,6 @@ rm -f "%buildroot/%_libdir"/*.a %defattr(-,root,root) %_includedir/lz4*.h %_libdir/liblz4.so +%_libdir/pkgconfig/*.pc %changelog