From 343a1577e12805d47eee74e4310f8b34ba0f9899 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 19 Jun 2021 07:41:46 +0200 Subject: update to 1.8.0 enable zstd compression support --- compat_reports/1.7.3_to_1.8.0/compat_report.html | 638 +++++++++++++++++++++++ libzip.spec | 38 +- libzip.xml | 2 +- 3 files changed, 660 insertions(+), 18 deletions(-) create mode 100644 compat_reports/1.7.3_to_1.8.0/compat_report.html diff --git a/compat_reports/1.7.3_to_1.8.0/compat_report.html b/compat_reports/1.7.3_to_1.8.0/compat_report.html new file mode 100644 index 0000000..ab845c9 --- /dev/null +++ b/compat_reports/1.7.3_to_1.8.0/compat_report.html @@ -0,0 +1,638 @@ + + + + + + + + + +libzip: 1.7.3 to 1.8.0 compatibility report + + + +

API compatibility report for the libzip library between 1.7.3 and 1.8.0 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibzip
Version #11.7.3
Version #21.8.0
Archx86_64
GCC Version10
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types121 / 54
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-2
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
Other Changes
in Constants
-2
+ +

Added Symbols  2 


+zip.h, libzip.so.5.4
+zip_source_window_create ( zip_source_t* p1, zip_uint64_t p2, zip_int64_t p3, zip_error_t* p4 )
+zip_source_zip_create ( zip_t* p1, zip_uint64_t p2, zip_flags_t p3, zip_uint64_t p4, zip_int64_t p5, zip_error_t* p6 )
+
+to the top
+ +

Other Changes in Constants  2 


+zip.h
+ +[+] ZIP_CM_ZSTD +
+ + + +[+] ZIP_ET_LIBZIP +
+ + +
+to the top
+

Header Files  2 


+
+zip.h
+zipconf.h
+
+
to the top
+

Libraries  1 


+
+libzip.so.5.3
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibzip
Version #11.7.3
Version #21.8.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types258 / 91
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-2
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low3
Other Changes
in Constants
-2
+ +

Added Symbols  2 


+zip.h
+zip_source_window_create ( zip_source_t* p1, zip_uint64_t p2, zip_int64_t p3, zip_error_t* p4 )
+zip_source_zip_create ( zip_t* p1, zip_uint64_t p2, zip_flags_t p3, zip_uint64_t p4, zip_int64_t p5, zip_error_t* p6 )
+
+to the top
+ +

Problems with Constants, Low Severity  3 


+zipconf.h
+ +[+] LIBZIP_VERSION +
+ + + +[+] LIBZIP_VERSION_MICRO +
+ + + +[+] LIBZIP_VERSION_MINOR +
+ + +
+to the top
+ +

Other Changes in Constants  2 


+zip.h
+ +[+] ZIP_CM_ZSTD +
+ + + +[+] ZIP_ET_LIBZIP +
+ + +
+to the top
+

Header Files  2 


+
+zip.h
+zipconf.h
+
+
to the top
+

Libraries  1 


+
+libzip.so.5.3
+
+
to the top
+



+ +
+ + diff --git a/libzip.spec b/libzip.spec index f3629c3..f49fbbf 100644 --- a/libzip.spec +++ b/libzip.spec @@ -11,11 +11,6 @@ %global libname libzip %global soname 5 %bcond_without tests -%if 0%{?rhel} == 6 -%global with_xz 0 -%else -%global with_xz 1 -%endif %{?scl: %scl_package libzip} @@ -24,8 +19,8 @@ Name: %{?scl_prefix}%{libname} %else Name: %{libname}%{soname} %endif -Version: 1.7.3 -Release: 2%{?dist} +Version: 1.8.0 +Release: 1%{?dist} Summary: C library for reading, creating, and modifying zip archives License: BSD @@ -36,9 +31,8 @@ BuildRequires: gcc BuildRequires: zlib-devel >= 1.1.2 BuildRequires: bzip2-devel BuildRequires: openssl-devel -%if %{with_xz} BuildRequires: xz-devel >= 5.2 -%endif +BuildRequires: libzstd-devel %if 0%{?rhel} == 6 || 0%{?rhel} == 7 BuildRequires: cmake3 >= 3.0.2 %else @@ -135,9 +129,6 @@ rm INSTALL.md # drop skipped test which make test suite fails (cmake issue ?) sed -e '/clone-fs-/d' \ -%if ! %{with_xz} - -e '/store_to_xz.test/d;/xz_to_store.test/d' \ -%endif %if 0%{?rhel} == 6 || 0%{?rhel} == 7 -e '/add_from_stdin/d' \ %endif @@ -145,7 +136,7 @@ sed -e '/clone-fs-/d' \ %build -%if 0%{?rhel} == 6 || 0%{?rhel} == 7 +%if 0%{?rhel} == 7 sed -e 's/COMMAND cmake /COMMAND cmake3 /' -i CMakeLists.txt regress/CMakeLists.txt %cmake3 \ %else @@ -157,27 +148,36 @@ sed -e 's/COMMAND cmake /COMMAND cmake3 /' -i CMakeLists.txt regress/CMakeLists. -DENABLE_OPENSSL:BOOL=ON \ -DENABLE_WINDOWS_CRYPTO:BOOL=OFF \ -DENABLE_BZIP2:BOOL=ON \ -%if %{with_xz} -DENABLE_LZMA:BOOL=ON \ -%else - -DENABLE_LZMA:BOOL=OFF \ -%endif + -DENABLE_ZSTD:BOOL=ON \ -DBUILD_TOOLS:BOOL=ON \ -DBUILD_REGRESS:BOOL=ON \ -DBUILD_EXAMPLES:BOOL=OFF \ -DBUILD_DOC:BOOL=ON \ . +%if 0%{?cmake_build:1} +%cmake_build +%else make %{?_smp_mflags} +%endif %install +%if 0%{?cmake_install:1} +%cmake_install +%else make install DESTDIR=%{buildroot} INSTALL='install -p' +%endif %check %if %{with tests} +%if 0%{?ctest:1} +%ctest +%else make check +%endif %else : Test suite disabled %endif @@ -213,6 +213,10 @@ make check %changelog +* Sat Jun 19 2021 Remi Collet - 1.8.0-1 +- update to 1.8.0 +- enable zstd compression support + * Thu Nov 5 2020 Remi Collet - 1.7.3-2 - adapt for SCL build diff --git a/libzip.xml b/libzip.xml index 3c00db9..495dcea 100644 --- a/libzip.xml +++ b/libzip.xml @@ -9,7 +9,7 @@ -1.7.3 +1.8.0 -- cgit