commit libzip for openSUSE:Factory
Hello community,
here is the log from the commit of package libzip for openSUSE:Factory checked in at 2011-12-31 17:20:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzip (Old)
and /work/SRC/openSUSE:Factory/.libzip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzip", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/libzip/libzip.changes 2011-11-21 15:48:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2011-12-31 17:20:09.000000000 +0100
@@ -1,0 +2,12 @@
+Thu Dec 29 19:35:38 UTC 2011 - crrodriguez@opensuse.org
+
+- Use O_CLOEXEC where needed, as calling applications
+ may fork.. execve and we end up leaking internal fds.
+
+-------------------------------------------------------------------
+Mon Nov 21 15:51:37 UTC 2011 - jengelh@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+
+-------------------------------------------------------------------
New:
----
libzip-ocloexec.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libzip.spec ++++++
--- /var/tmp/diff_new_pack.KprpkO/_old 2011-12-31 17:20:10.000000000 +0100
+++ /var/tmp/diff_new_pack.KprpkO/_new 2011-12-31 17:20:10.000000000 +0100
@@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: libzip
@@ -34,6 +33,7 @@
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
%description
libzip is a C library for reading, creating, and modifying zip
@@ -44,7 +44,6 @@
* ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files.
%package -n libzip2
-License: BSD3c
Summary: C library for reading, creating, and modifying zip archives
Group: Development/Libraries/C and C++
@@ -58,7 +57,6 @@
pages.
%package devel
-License: BSD3c
Summary: C library for reading, creating, and modifying zip archives
Group: Development/Libraries/C and C++
Requires: libzip%{soname} = %{version} glibc-devel
@@ -68,28 +66,24 @@
archives. This package contains devel files.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%patch0 -p1
%patch1 -p1
+%patch2
%build
autoreconf -fiv
%configure --disable-static --with-pic
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
%check
-export MALLOC_CHECK_=2
-%{__make} --debug=j %{?jobs:-j%jobs} check
-unset MALLOC_CHECK_
+make %{?_smp_mflags} check VERBOSE=1
%install
%{__make} install DESTDIR=%{buildroot}
%__cp lib/zipconf.h %buildroot/%_includedir/zipconf.h
rm -f %{buildroot}%{_libdir}/libzip.la
-%clean
-rm -rf %{buildroot}
-
%post -n libzip%{soname} -p /sbin/ldconfig
%postun -n libzip%{soname} -p /sbin/ldconfig
++++++ libzip-ocloexec.patch ++++++
--- lib/zip_close.c.orig
+++ lib/zip_close.c
@@ -44,9 +44,9 @@
#endif
#include
participants (1)
-
root@hilbert.suse.de