From 1351b1848c11713cce630bfc6496047d3335e95b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 24 Jan 2020 15:12:29 +0100 Subject: update to 1.6.0 enable lzma support (excepted on EL-6) --- compat_reports/1.5.2_to_1.6.0/compat_report.html | 752 +++++++++++++++++++++++ libzip.spec | 23 +- libzip.xml | 2 +- 3 files changed, 775 insertions(+), 2 deletions(-) create mode 100644 compat_reports/1.5.2_to_1.6.0/compat_report.html diff --git a/compat_reports/1.5.2_to_1.6.0/compat_report.html b/compat_reports/1.5.2_to_1.6.0/compat_report.html new file mode 100644 index 0000000..fdd2f0e --- /dev/null +++ b/compat_reports/1.5.2_to_1.6.0/compat_report.html @@ -0,0 +1,752 @@ + + + + + + + + + +libzip: 1.5.2 to 1.6.0 compatibility report + + + +

API compatibility report for the libzip library between 1.5.2 and 1.6.0 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibzip
Version #11.5.2
Version #21.6.0
Archx86_64
GCC Version9
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types119 / 50
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 Data Types
-1
Other Changes
in Constants
-3
+ +

Added Symbols  2 


+zip.h, libzip.so.5.1
+zip_file_set_dostime ( zip_t* p1, zip_uint64_t p2, zip_uint16_t p3, zip_uint16_t p4, zip_flags_t p5 )
+zip_register_cancel_callback_with_state ( zip_t* p1, zip_cancel_callback p2, void(*p3)(void*), void* p4 )
+
+to the top
+ +

Other Changes in Data Types  1 


+zip.h
+ +[+] enum zip_source_cmd  1  +
+ + +
+to the top
+ +

Other Changes in Constants  3 


+zip.h
+ +[+] ZIP_CM_LZMA2 +
+ + + +[+] ZIP_ER_CANCELLED +
+ + +
+zipconf.h
+ +[+] __STDC_FORMAT_MACROS +
+ + +
+to the top
+

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.0
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibzip
Version #11.5.2
Version #21.6.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types251 / 83
Compatibility100%
+

Problem Summary


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

Added Symbols  8 


+inttypes.h
+imaxabs ( intmax_t __n )
+imaxdiv ( intmax_t __numer, intmax_t __denom )
+strtoimax ( char const*restrict __nptr, char**restrict __endptr, int __base )
+strtoumax ( char const*restrict __nptr, char**restrict __endptr, int __base )
+wcstoimax ( wchar_t const*restrict __nptr, wchar_t**restrict __endptr, int __base )
+wcstoumax ( wchar_t const*restrict __nptr, wchar_t**restrict __endptr, int __base )
+
+zip.h
+zip_file_set_dostime ( zip_t* p1, zip_uint64_t p2, zip_uint16_t p3, zip_uint16_t p4, zip_flags_t p5 )
+zip_register_cancel_callback_with_state ( zip_t* p1, zip_cancel_callback p2, void(*p3)(void*), void* p4 )
+
+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 Data Types  1 


+zip.h
+ +[+] enum zip_source_cmd  1  +
+ + +
+to the top
+ +

Other Changes in Constants  3 


+zip.h
+ +[+] ZIP_CM_LZMA2 +
+ + + +[+] ZIP_ER_CANCELLED +
+ + +
+zipconf.h
+ +[+] __STDC_FORMAT_MACROS +
+ + +
+to the top
+

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.0
+
+
to the top
+



+ +
+ + diff --git a/libzip.spec b/libzip.spec index 7c7182d..9d5424a 100644 --- a/libzip.spec +++ b/libzip.spec @@ -11,13 +11,18 @@ %global libname libzip %global soname 5 %global with_tests 0%{!?_without_tests:1} +%if 0%{?rhel} == 6 +%global with_xz 0 +%else +%global with_xz 0 +%endif %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 Name: %{libname} %else Name: %{libname}%{soname} %endif -Version: 1.5.2 +Version: 1.6.0 Release: 1%{?dist} Summary: C library for reading, creating, and modifying zip archives @@ -29,6 +34,9 @@ BuildRequires: gcc BuildRequires: zlib-devel BuildRequires: bzip2-devel BuildRequires: openssl-devel +%if %{with_xz} +BuildRequires: xz-devel +%endif %if 0%{?rhel} == 6 || 0%{?rhel} == 7 BuildRequires: cmake3 >= 3.0.2 %else @@ -112,6 +120,10 @@ The %{name}-tools package provides command line tools split off %{name}: # unwanted in package documentation rm INSTALL.md +%if ! %{with_xz} +sed -e '/store_to_xz.test/d;/xz_to_store.test/d' -i regress/CMakeLists.txt +%endif + %build %if 0%{?rhel} == 6 || 0%{?rhel} == 7 @@ -128,6 +140,11 @@ 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 -DBUILD_TOOLS:BOOL=ON \ -DBUILD_REGRESS:BOOL=ON \ -DBUILD_EXAMPLES:BOOL=OFF \ @@ -178,6 +195,10 @@ make check %changelog +* Fri Jan 24 2020 Remi Collet - 1.6.0-1 +- update to 1.6.0 +- enable lzma support (excepted on EL-6) + * Tue Mar 12 2019 Remi Collet - 1.5.2-1 - update to 1.5.2 - add all explicit cmake options to ensure openssl is used diff --git a/libzip.xml b/libzip.xml index a597a86..604d4a9 100644 --- a/libzip.xml +++ b/libzip.xml @@ -9,7 +9,7 @@ -1.5.2 +1.6.0 -- cgit