From c4037cd6bac19d5df40800b9f1d578808f7c9de1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Jun 2020 16:21:02 +0200 Subject: update to 1.7.0 really enable lzma support (excepted on EL-6) patch zipconf.h to re-add missing LIBZIP_VERSION_* macros --- compat_reports/1.6.0_to_1.6.1/compat_report.html | 525 ++++++++++++++ compat_reports/1.6.1_to_1.7.0/compat_report.html | 882 +++++++++++++++++++++++ libzip.spec | 19 +- libzip.xml | 2 +- 4 files changed, 1424 insertions(+), 4 deletions(-) create mode 100644 compat_reports/1.6.0_to_1.6.1/compat_report.html create mode 100644 compat_reports/1.6.1_to_1.7.0/compat_report.html diff --git a/compat_reports/1.6.0_to_1.6.1/compat_report.html b/compat_reports/1.6.0_to_1.6.1/compat_report.html new file mode 100644 index 0000000..bddbdb7 --- /dev/null +++ b/compat_reports/1.6.0_to_1.6.1/compat_report.html @@ -0,0 +1,525 @@ + + + + + + + + + +libzip: 1.6.0 to 1.6.1 compatibility report + + + +

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

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibzip
Version #11.6.0
Version #21.6.1
Archx86_64
GCC Version9
SubjectBinary Compatibility
+

Test Results


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

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibzip
Version #11.6.0
Version #21.6.1
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types259 / 89
Compatibility100%
+

Problem Summary


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

Problems with Constants, Low Severity  1 


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

Other Changes in Constants  1 


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

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.1
+
+
to the top
+



+ +
+ + diff --git a/compat_reports/1.6.1_to_1.7.0/compat_report.html b/compat_reports/1.6.1_to_1.7.0/compat_report.html new file mode 100644 index 0000000..5d68796 --- /dev/null +++ b/compat_reports/1.6.1_to_1.7.0/compat_report.html @@ -0,0 +1,882 @@ + + + + + + + + + +libzip: 1.6.1 to 1.7.0 compatibility report + + + +

API compatibility report for the libzip library between 1.6.1 and 1.7.0 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibzip
Version #11.6.1
Version #21.7.0
Archx86_64
GCC Version9
SubjectBinary Compatibility
+

Test Results


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

Problem Summary


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

Added Symbols  4 


+zip.h, libzip.so.5.3
+zip_compression_method_supported ( zip_int32_t method, int compress )
+zip_encryption_method_supported ( zip_uint16_t method, int encode )
+zip_file_attributes_init ( zip_file_attributes_t* p1 )
+zip_source_get_file_attributes ( zip_source_t* p1, zip_file_attributes_t* p2 )
+
+to the top
+ +

Problems with Data Types, Low Severity  1 


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

Other Changes in Data Types  1 


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

Other Changes in Constants  4 


+zip.h
+ +[+] ZIP_FILE_ATTRIBUTES_ASCII +
+ + + +[+] ZIP_FILE_ATTRIBUTES_EXTERNAL_FILE_ATTRIBUTES +
+ + + +[+] ZIP_FILE_ATTRIBUTES_GENERAL_PURPOSE_BIT_FLAGS +
+ + + +[+] ZIP_FILE_ATTRIBUTES_HOST_SYSTEM +
+ + +
+to the top
+

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibzip
Version #11.6.1
Version #21.7.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types259 / 89
Compatibility98.8%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High1
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low4
Other Changes
in Data Types
-1
Other Changes
in Constants
-5
+ +

Added Symbols  4 


+zip.h
+zip_compression_method_supported ( zip_int32_t method, int compress )
+zip_encryption_method_supported ( zip_uint16_t method, int encode )
+zip_file_attributes_init ( zip_file_attributes_t* p1 )
+zip_source_get_file_attributes ( zip_source_t* p1, zip_file_attributes_t* p2 )
+
+to the top
+ +

Problems with Data Types, High Severity  1 


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

Problems with Constants, Low Severity  4 


+zipconf.h
+ +[+] LIBZIP_VERSION +
+ + + +[+] LIBZIP_VERSION_MAJOR +
+ + + +[+] 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  5 


+zip.h
+ +[+] ZIP_FILE_ATTRIBUTES_ASCII +
+ + + +[+] ZIP_FILE_ATTRIBUTES_EXTERNAL_FILE_ATTRIBUTES +
+ + + +[+] ZIP_FILE_ATTRIBUTES_GENERAL_PURPOSE_BIT_FLAGS +
+ + + +[+] ZIP_FILE_ATTRIBUTES_HOST_SYSTEM +
+ + + +[+] ZIP_FILE_ATTRIBUTES_VERSION_NEEDED +
+ + +
+to the top
+

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.1
+
+
to the top
+



+ +
+ + diff --git a/libzip.spec b/libzip.spec index cc73848..b81a011 100644 --- a/libzip.spec +++ b/libzip.spec @@ -14,7 +14,7 @@ %if 0%{?rhel} == 6 %global with_xz 0 %else -%global with_xz 0 +%global with_xz 1 %endif %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 @@ -22,7 +22,7 @@ Name: %{libname} %else Name: %{libname}%{soname} %endif -Version: 1.6.1 +Version: 1.7.0 Release: 1%{?dist} Summary: C library for reading, creating, and modifying zip archives @@ -30,6 +30,9 @@ License: BSD URL: https://libzip.org/ Source0: https://libzip.org/download/libzip-%{version}.tar.xz +Patch0: 0001-Restore-LIBZIP_VERSION_-MAJOR-MINOR-MICRO.patch +Patch1: 0002-Fix-previous-the-macros-are-expected-to-be-numbers.patch + BuildRequires: gcc BuildRequires: zlib-devel BuildRequires: bzip2-devel @@ -116,6 +119,8 @@ The %{name}-tools package provides command line tools split off %{name}: %prep %setup -q -n %{libname}-%{version} +%patch0 -p1 +%patch1 -p1 # unwanted in package documentation rm INSTALL.md @@ -128,7 +133,9 @@ sed -e '/store_to_xz.test/d;/xz_to_store.test/d' -i regress/CMakeLists.txt %build %if 0%{?rhel} == 6 || 0%{?rhel} == 7 # drop skipped test which make test suite fails (cmake issue ?) -sed -e '/clone-fs-/d' -i regress/CMakeLists.txt +sed -e '/clone-fs-/d' \ + -e '/add_from_stdin/d' \ + -i regress/CMakeLists.txt sed -e 's/COMMAND cmake /COMMAND cmake3 /' -i CMakeLists.txt regress/CMakeLists.txt %cmake3 \ %else @@ -189,12 +196,18 @@ make check %{_includedir}/zipconf*.h %{_libdir}/libzip.so %{_libdir}/pkgconfig/libzip.pc +%{_libdir}/cmake/libzip %{_mandir}/man3/libzip* %{_mandir}/man3/zip* %{_mandir}/man3/ZIP* %changelog +* Fri Jun 5 2020 Remi Collet - 1.7.0-1 +- update to 1.7.0 +- really enable lzma support (excepted on EL-6) +- patch zipconf.h to re-add missing LIBZIP_VERSION_* macros + * Mon Feb 3 2020 Remi Collet - 1.6.1-1 - update to 1.6.1 diff --git a/libzip.xml b/libzip.xml index 604d4a9..98392e7 100644 --- a/libzip.xml +++ b/libzip.xml @@ -9,7 +9,7 @@ -1.6.0 +1.7.0 -- cgit