Hello community,
here is the log from the commit of package libzip for openSUSE:Factory checked in at 2013-05-02 11:22:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzip (Old)
and /work/SRC/openSUSE:Factory/.libzip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzip"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libzip/libzip.changes 2013-03-05 10:11:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2013-05-02 11:22:52.000000000 +0200
@@ -1,0 +2,27 @@
+Mon Apr 29 12:56:17 UTC 2013 - mvyskocil@suse.com
+
+- make test failure fatal again and add needed
+ timezone and unzip build dependencies
+
+-------------------------------------------------------------------
+Mon Apr 29 11:51:04 UTC 2013 - mvyskocil@suse.com
+
+- update to 0.11.1
+ * Fix bugs in zip_set_file_compression().
+ * Added Zip64 support (large file support)
+ * Added UTF-8 support for file names, file comments, and archive comments
+ * Changed API for name and comment related functions for UTF-8 support
+ * Added zip_discard()
+ * Added ZIP_TRUNCATE for zip_open()
+ * Added zip_set_file_compression()
+ * Added API for accessing and modifying extra fields
+ * Improved API type consistency
+ * Use gcc4's visibility __attribute__
+ * More changes for Windows support
+ * Additional test cases
+- split the automake part from ocloexec patch to
+ libzip-autoconf-268.patch
+- drop already upstream libzip.test.diff
+- make tests non-fail, until issue will be solved upstream
+
+-------------------------------------------------------------------
Old:
----
libzip-0.10.1.tar.bz2
libzip.test.diff
New:
----
libzip-0.11.1.tar.xz
libzip-autoconf-268.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libzip.spec ++++++
--- /var/tmp/diff_new_pack.bPuOxe/_old 2013-05-02 11:22:54.000000000 +0200
+++ /var/tmp/diff_new_pack.bPuOxe/_new 2013-05-02 11:22:54.000000000 +0200
@@ -16,25 +16,31 @@
#
+%define soname 2
+
Name: libzip
-Version: 0.10.1
+Version: 0.11.1
Release: 0
Summary: C library for reading, creating, and modifying zip archives
License: BSD-3-Clause
Group: Development/Libraries/C and C++
-Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.bz2
+Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.xz
Url: http://www.nih.at/libzip
BuildRequires: autoconf >= 2.68
BuildRequires: libtool
BuildRequires: pkg-config
+# for tests
+BuildRequires: timezone
+# for tests
+BuildRequires: unzip
+BuildRequires: xz
BuildRequires: zlib-devel
Provides: libzip-util = %{version}
Obsoletes: libzip-util < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: libzip-0.8.hg20080403-visibility.patch
-#PATCH-FIX-UPSTREAM: for for failing tests by Thomas Klausner
-Patch1: libzip.test.diff
-Patch2: libzip-ocloexec.patch
+Patch1: libzip-ocloexec.patch
+Patch2: libzip-autoconf-268.patch
%description
libzip is a C library for reading, creating, and modifying zip
@@ -44,8 +50,6 @@
* zipcmp - compares the zip archives and check if they contains same files
* ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files.
-%define soname 2
-
%package -n libzip%soname
Summary: C library for reading, creating, and modifying zip archives
Group: Development/Libraries/C and C++
@@ -71,7 +75,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2
+%patch2 -p1
%build
autoreconf -fiv
@@ -79,7 +83,7 @@
make %{?_smp_mflags}
%check
-make %{?_smp_mflags} check VERBOSE=1
+TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1
%install
%{__make} install DESTDIR=%{buildroot}
++++++ libzip-0.8.hg20080403-visibility.patch ++++++
--- /var/tmp/diff_new_pack.bPuOxe/_old 2013-05-02 11:22:54.000000000 +0200
+++ /var/tmp/diff_new_pack.bPuOxe/_new 2013-05-02 11:22:54.000000000 +0200
@@ -1,8 +1,8 @@
-Index: libzip-0.10/configure.ac
+Index: libzip-0.11/configure.ac
===================================================================
---- libzip-0.10.orig/configure.ac 2011-03-18 12:37:29.000000000 +0100
-+++ libzip-0.10/configure.ac 2011-03-21 13:46:34.674834029 +0100
-@@ -38,6 +38,35 @@
+--- libzip-0.11.orig/configure.ac
++++ libzip-0.11/configure.ac
+@@ -38,6 +38,35 @@ then
AC_MSG_ERROR([ZLIB version too old, please install at least v1.1.2])
fi
@@ -38,32 +38,3 @@
AC_EXEEXT
AM_PROG_LIBTOOL
-Index: libzip-0.10/lib/zip.h
-===================================================================
---- libzip-0.10.orig/lib/zip.h 2011-03-04 18:17:43.000000000 +0100
-+++ libzip-0.10/lib/zip.h 2011-03-21 13:48:52.466190330 +0100
-@@ -34,14 +34,19 @@
- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
--
-
--#ifndef ZIP_EXTERN
- #ifdef _WIN32
--#define ZIP_EXTERN __declspec(dllimport)
-+ #ifdef BUILDING_DLL
-+ #define ZIP_EXTERN __declspec(dllexport)
-+ #else
-+ #define ZIP_EXTERN __declspec(dllimport)
-+ #endif
- #else
--#define ZIP_EXTERN
--#endif
-+ #ifdef HAVE_GCCVISIBILITYPATCH
-+ #define ZIP_EXTERN __attribute__ ((visibility("default")))
-+ #else
-+ #define ZIP_EXTERN
-+ #endif
- #endif
-
- #ifdef __cplusplus
++++++ libzip-autoconf-268.patch ++++++
Date: Thu Dec 29 19:35:38 UTC 2011
From: crrodriguez@opensuse.org
Use newer and preferable autoconf macros
Index: libzip-0.11.1/configure.ac
===================================================================
--- libzip-0.11.1.orig/configure.ac
+++ libzip-0.11.1/configure.ac
@@ -1,4 +1,4 @@
-AC_PREREQ(2.57)
+AC_PREREQ(2.68)
AC_INIT([libzip],[0.11.1],[libzip@nih.at])
AC_CONFIG_SRCDIR([lib/zip_add.c])
AC_CONFIG_HEADERS([config.h])
@@ -7,7 +7,9 @@ AM_INIT_AUTOMAKE
dnl AC_CANONICAL_HOST
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AM_PROG_CC_C_O
AC_ARG_WITH(zlib,
@@ -40,7 +42,7 @@ fi
AC_EXEEXT
-AM_PROG_LIBTOOL
+LT_INIT
AC_CHECK_FUNCS([_close _dup _fdopen _fileno _open _snprintf _strdup _stricmp fseeko ftello getopt open snprintf strcasecmp strdup])
AC_CHECK_FUNCS([mkstemp], [], [AC_LIBOBJ(mkstemp)])
++++++ libzip-ocloexec.patch ++++++
--- /var/tmp/diff_new_pack.bPuOxe/_old 2013-05-02 11:22:54.000000000 +0200
+++ /var/tmp/diff_new_pack.bPuOxe/_new 2013-05-02 11:22:54.000000000 +0200
@@ -1,8 +1,13 @@
-Index: lib/zip_close.c
-===================================================================
---- lib/zip_close.c.orig
-+++ lib/zip_close.c
-@@ -44,9 +44,9 @@
+Date: Thu Dec 29 19:35:38 UTC 2011
+From: crrodriguez@opensuse.org
+
+Use O_CLOEXEC where needed, as calling applications
+may fork.. execve and we end up leaking internal fds.
+Index: libzip-0.11/lib/zip_close.c
+===================================================================
+--- libzip-0.11.orig/lib/zip_close.c
++++ libzip-0.11/lib/zip_close.c
+@@ -47,9 +47,9 @@
#endif
#include