SHA256
1
0
forked from pool/lz4

Accepting request 253633 from Archiving

- Update to version 1.3.1+svn123

OBS-URL: https://build.opensuse.org/request/show/253633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lz4?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2014-10-05 18:31:04 +00:00 committed by Git OBS Bridge
commit f1177374d8
6 changed files with 26 additions and 16 deletions

3
lz4-1.3.1+svn123.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:adccdefe61a11da079bb45ac5ecff4f4c5a429064e4967da9995d999604d6365
size 110804

View File

@ -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__

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96019c37ebf5546b5644eca7e79f5111aa784d877726641f3294147d04052fe9
size 141631

View File

@ -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)

View File

@ -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

View File

@ -18,7 +18,7 @@
Name: lz4
%define lname liblz4-1
Version: 1.2.0.r119
Version: 1.3.1+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