From c644603b0c6503bca018650122d775e490647c92 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Nov 2017 14:33:52 +0100 Subject: v1.3.2 --- .gitignore | 1 + compat_reports/1.3.1_to_1.3.2/compat_report.html | 518 +++++++++++++++++++++++ f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch | 35 -- libzip.spec | 10 +- libzip.xml | 2 +- 5 files changed, 525 insertions(+), 41 deletions(-) create mode 100644 compat_reports/1.3.1_to_1.3.2/compat_report.html delete mode 100644 f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch diff --git a/.gitignore b/.gitignore index 1ab5c4f..0cfd800 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ package-*.xml *.tgz +*.tar.bz2 *.tar.gz *.tar.xz *.tar.xz.asc diff --git a/compat_reports/1.3.1_to_1.3.2/compat_report.html b/compat_reports/1.3.1_to_1.3.2/compat_report.html new file mode 100644 index 0000000..a7ea886 --- /dev/null +++ b/compat_reports/1.3.1_to_1.3.2/compat_report.html @@ -0,0 +1,518 @@ + + + + + + + + +libzip: 1.3.1 to 1.3.2 compatibility report + + + +

API compatibility report for the libzip library between 1.3.1 and 1.3.2 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibzip
Version #11.3.1
Version #21.3.2
Archx86_64
GCC Version6.4.1
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types119 / 48
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.0.0
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibzip
Version #11.3.1
Version #21.3.2
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files2
Total Libraries1
Total Symbols / Types279 / 85
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
Low2
+ + +

Problems with Constants, Low Severity  2 


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

Header Files  2 


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

Libraries  1 


+
+libzip.so.5.0.0
+
+
to the top
+



+ +
+ + diff --git a/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch b/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch deleted file mode 100644 index 9f5b71a..0000000 --- a/f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch +++ /dev/null @@ -1,35 +0,0 @@ -From f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd Mon Sep 17 00:00:00 2001 -From: Dieter Baron -Date: Mon, 20 Nov 2017 09:23:02 +0100 -Subject: [PATCH] Do not discard za in case of error. - -Fixes serious bug introduced in 1.3.1. ---- - lib/zip_close.c | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/lib/zip_close.c b/lib/zip_close.c -index 71f4bf7..2aff0dd 100644 ---- a/lib/zip_close.c -+++ b/lib/zip_close.c -@@ -216,15 +216,16 @@ zip_close(zip_t *za) - } - } - -+ _zip_progress_end(za->progress); -+ - if (error) { - zip_source_rollback_write(za->src); -+ return -1; - } - -- _zip_progress_end(za->progress); -- - zip_discard(za); -- -- return error ? -1 : 0; -+ -+ return 0; - } - - diff --git a/libzip.spec b/libzip.spec index ef98839..74d6bbb 100644 --- a/libzip.spec +++ b/libzip.spec @@ -22,13 +22,11 @@ Name: %{libname} %else Name: %{libname}%{soname} %endif -Version: 1.3.1 -Release: 2%{?dist} +Version: 1.3.2 +Release: 1%{?dist} Group: System Environment/Libraries Summary: C library for reading, creating, and modifying zip archives -Patch0: f8ef1a2c7855c0b5dbf7de32269cc7633eb620bd.patch - License: BSD URL: https://libzip.org/ Source0: https://libzip.org/download/libzip-%{version}.tar.xz @@ -111,7 +109,6 @@ The %{name}-tools package provides command line tools split off %{name}: %prep %setup -q -n %{libname}-%{version} -%patch0 -p1 # Avoid lib64 rpaths (FIXME: recheck this on newer releases) %if "%{_libdir}" != "/usr/lib" @@ -170,6 +167,9 @@ make check %changelog +* Mon Nov 20 2017 Remi Collet - 1.3.2-1 +- update to 1.3.2 + * Mon Nov 20 2017 Remi Collet - 1.3.1-2 - add upstream patch for regression in 1.3.1 diff --git a/libzip.xml b/libzip.xml index 15cfaec..0696548 100644 --- a/libzip.xml +++ b/libzip.xml @@ -9,7 +9,7 @@ -1.3.1 +1.3.2 -- cgit