commit lz4 for openSUSE:Factory
Hello community, here is the log from the commit of package lz4 for openSUSE:Factory checked in at 2017-08-29 11:40:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lz4 (Old) and /work/SRC/openSUSE:Factory/.lz4.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lz4" Tue Aug 29 11:40:44 2017 rev:10 rq:518774 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lz4/lz4.changes 2017-08-22 11:05:29.767295647 +0200 +++ /work/SRC/openSUSE:Factory/.lz4.new/lz4.changes 2017-08-29 11:40:47.992074714 +0200 @@ -1,0 +2,21 @@ +Fri Aug 25 13:59:49 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 1.8.0 + * cli: fix: do not modify /dev/null's permissions. + * cli: added POSIX separator "--" for specifying that all + following arguments are non-options. + * cli: restored -BX command enabling block checksum. + * API: added LZ4_compress_HC_destSize() and + LZ4F_resetDecompressionContext(). + * API: lz4frame: negative compression levels trigger fast + acceleration. + * API: lz4frame: ability to control block checksum and + dictionary ID. + * API: fix: expose obsolete decoding functions + * API: experimental: lz4frame_static.h: + new dictionary compression API + * doc: Updated LZ4 Frame format to v1.6.0, restoring + Dictionary ID field in header. +- Add lz-export.diff + +------------------------------------------------------------------- Old: ---- v1.7.5.tar.gz New: ---- lz-export.diff v1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lz4.spec ++++++ --- /var/tmp/diff_new_pack.2ho194/_old 2017-08-29 11:40:49.675837325 +0200 +++ /var/tmp/diff_new_pack.2ho194/_new 2017-08-29 11:40:49.679836761 +0200 @@ -18,16 +18,18 @@ Name: lz4 %define lname liblz4-1 -Version: 1.7.5 +Version: 1.8.0 Release: 0 Summary: Hash-based Predictive Lempel–Ziv compressor License: GPL-2.0+ and BSD-2-Clause Group: Productivity/Archiving/Compression Url: http://lz4.org/ -Source: https://github.com/lz4/lz4/archive/v%{version}.tar.gz +#Git-Clone: https://github.com/lz4/lz4 +Source: https://github.com/lz4/lz4/archive/v%version.tar.gz Source99: baselibs.conf Patch1: lz4-use-shlib.diff +Patch2: lz-export.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config @@ -68,7 +70,7 @@ %prep %setup -q -%patch -P 1 -p1 +%patch -P 1 -P 2 -p1 %build # Goddammit, lz4 @@ -76,9 +78,12 @@ # don't bother building here, because make install builds it again - unconditionally :-( %install -make install CFLAGS="%optflags -DXXH_NAMESPACE=LZ4_" \ - DESTDIR="%buildroot" PREFIX="%_prefix" LIBDIR="%_libdir" +make install CFLAGS="%optflags" DESTDIR="%buildroot" \ + PREFIX="%_prefix" LIBDIR="%_libdir" rm -f "%buildroot/%_libdir"/*.a +mkdir -p "%buildroot/%_mandir/man1" +# duh, it was right in 1.7.5 +mv "%buildroot/%_mandir"/*.1 "%buildroot/%_mandir/man1/" %check LD_LIBRARY_PATH="%buildroot/%_libdir" ldd -r "%buildroot/%_bindir/lz4" ++++++ lz-export.diff ++++++ [ 9s] bench.o: In function `BMK_benchMem': [ 9s] /home/abuild/rpmbuild/BUILD/lz4-1.8.0/programs/bench.c:221: undefined reference to `LZ4_XXH64' --- lib/xxhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: lz4-1.8.0/lib/xxhash.h =================================================================== --- lz4-1.8.0.orig/lib/xxhash.h +++ lz4-1.8.0/lib/xxhash.h @@ -105,7 +105,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH # define XXH_PUBLIC_API static /* this version may generate warnings for unused static functions; disable the relevant warning */ # endif #else -# define XXH_PUBLIC_API /* do nothing */ +# define XXH_PUBLIC_API __attribute__((visibility("default"))) /* do nothing */ #endif /* XXH_PRIVATE_API */ /*!XXH_NAMESPACE, aka Namespace Emulation : ++++++ lz4-use-shlib.diff ++++++ --- /var/tmp/diff_new_pack.2ho194/_old 2017-08-29 11:40:49.795820409 +0200 +++ /var/tmp/diff_new_pack.2ho194/_new 2017-08-29 11:40:49.799819845 +0200 @@ -5,43 +5,36 @@ build: make programs use liblz too instead of duplicating object code. --- - programs/Makefile | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + programs/Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) -Index: lz4-1.7.5/programs/Makefile +Index: lz4-1.8.0/programs/Makefile =================================================================== ---- lz4-1.7.5.orig/programs/Makefile -+++ lz4-1.7.5/programs/Makefile -@@ -40,7 +40,7 @@ LIBVER := $(shell echo $(LIBVER_SCRIPT) - - LZ4DIR := ../lib +--- lz4-1.8.0.orig/programs/Makefile ++++ lz4-1.8.0/programs/Makefile +@@ -41,7 +41,7 @@ LIBVER_MINOR := $(shell echo $(LIBVER_MI + LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT)) + LIBVER := $(shell echo $(LIBVER_SCRIPT)) -SRCFILES := $(wildcard $(LZ4DIR)/*.c) $(wildcard *.c) +SRCFILES := $(wildcard *.c) OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) - CPPFLAGS+= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ -@@ -75,19 +75,19 @@ all32: CFLAGS+=-m32 + CPPFLAGS += -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ +@@ -76,14 +76,14 @@ all32: CFLAGS+=-m32 all32: all - lz4: CFLAGS += $(DEBUGFLAGS) --lz4: $(OBJFILES) + lz4: $(OBJFILES) - $(CC) $(FLAGS) $^ -o $@$(EXT) -+lz4: $(SRCFILES) + $(CC) $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4 lz4-release: DEBUGFLAGS= lz4-release: lz4 - lz4c : CFLAGS += $(DEBUGFLAGS) - lz4c : $(SRCFILES) -- $(CC) $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -+ $(CC) $(FLAGS) -DENABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -L${LZ4DIR} -llz4 - - lz4c32: CFLAGS += -m32 $(DEBUGFLAGS) - lz4c32: $(SRCFILES) + lz4c32: CFLAGS += -m32 + lz4c32 : $(SRCFILES) - $(CC) $(FLAGS) $^ -o $@$(EXT) + $(CC) $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4 - clean: - @$(MAKE) -C $(LZ4DIR) $@ > $(VOID) + lz4c: lz4 + ln -s lz4 lz4c ++++++ v1.7.5.tar.gz -> v1.8.0.tar.gz ++++++ ++++ 8599 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de