SHA256
1
0
forked from pool/lz4

- Update to new upstream release 1.9.1

OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=41
This commit is contained in:
Jan Engelhardt 2019-06-08 19:50:47 +00:00 committed by Git OBS Bridge
parent 2b0a916958
commit 9d9b486400
5 changed files with 24 additions and 15 deletions

View File

@ -6,16 +6,16 @@
lib/xxhash.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: lz4-1.8.0/lib/xxhash.h
Index: lz4-1.9.1/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 */
--- lz4-1.9.1.orig/lib/xxhash.h
+++ lz4-1.9.1/lib/xxhash.h
@@ -107,7 +107,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH
# define XXH_PUBLIC_API static
# endif
#else
-# define XXH_PUBLIC_API /* do nothing */
+# define XXH_PUBLIC_API __attribute__((visibility("default"))) /* do nothing */
#endif /* XXH_PRIVATE_API */
+# define XXH_PUBLIC_API __attribute__((visibility("default"))) /* do nothing */
#endif /* XXH_INLINE_ALL || XXH_PRIVATE_API */
/*!XXH_NAMESPACE, aka Namespace Emulation :
/*! XXH_NAMESPACE, aka Namespace Emulation :

View File

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

3
lz4-1.9.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Jun 6 18:26:39 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 1.9.1
* Decompression speed was improved by about 12% (x86/x64).
* New option `lz4 --list` to inspect the block type, checksum
information, compressed and decompressed sizes (if present). The
command is limited to single-frame files for the time being.
-------------------------------------------------------------------
Fri Oct 12 22:04:52 UTC 2018 - astieger@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package lz4
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname liblz4-1
Name: lz4
Version: 1.8.3
Version: 1.9.1
Release: 0
Summary: Hash-based Predictive LempelZiv compressor
License: GPL-2.0-or-later AND BSD-2-Clause
@ -26,7 +26,7 @@ Group: Productivity/Archiving/Compression
Url: https://lz4.github.io/lz4/
#Git-Clone: https://github.com/lz4/lz4
Source: https://github.com/lz4/lz4/archive/v%version.tar.gz#/%{name}-%{version}.tar.gz
Source: https://github.com/lz4/lz4/archive/v%version.tar.gz#/%name-%version.tar.gz
Source99: baselibs.conf
Patch2: lz-export.diff
BuildRequires: pkgconfig