Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-06-13 16:07:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzip" Tue Jun 13 16:07:22 2017 rev:27 rq:502527 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libzip/libzip.changes 2017-02-22 13:49:16.252727388 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-06-13 16:07:22.852802980 +0200 @@ -1,0 +2,6 @@ +Wed Jun 7 07:36:54 UTC 2017 - mplus...@suse.com + +- Small spec file and dependencies cleanup +- Try profiled build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzip.spec ++++++ --- /var/tmp/diff_new_pack.W0T5Rm/_old 2017-06-13 16:07:23.448718998 +0200 +++ /var/tmp/diff_new_pack.W0T5Rm/_new 2017-06-13 16:07:23.456717871 +0200 @@ -16,20 +16,20 @@ # -%define soname 5 - +%define sover 5 Name: libzip Version: 1.2.0 Release: 0 Summary: C library for reading, creating, and modifying zip archives License: BSD-3-Clause Group: Development/Libraries/C and C++ +Url: http://www.nih.at/libzip Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.xz Source1: baselibs.conf -Url: http://www.nih.at/libzip -BuildRequires: autoconf >= 2.68 +# PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release +Patch1: libzip-ocloexec.patch BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig # for tests BuildRequires: timezone # for tests @@ -38,9 +38,6 @@ BuildRequires: zlib-devel Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -#PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release -Patch1: libzip-ocloexec.patch %description libzip is a C library for reading, creating, and modifying zip @@ -49,11 +46,11 @@ * zipmerge - merge source zip archives into the target one * zipcmp - compares the zip archives and check if they contains same files -%package -n libzip%soname +%package -n libzip%{sover} Summary: C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ -%description -n libzip%{soname} +%description -n libzip%{sover} This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without @@ -64,7 +61,7 @@ Summary: C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libzip%{soname} = %{version} +Requires: libzip%{sover} = %{version} %description devel libzip is a C library for reading, creating, and modifying zip @@ -85,33 +82,42 @@ %patch1 -p1 %build -autoreconf -fiv -%configure --disable-static --with-pic -make %{?_smp_mflags} +%configure \ + --disable-static \ + --with-pic +%if %{do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1 + make clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" +%else + make %{?_smp_mflags} CFLAGS="%{optflags}" +%endif %check TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1 %install -%{__make} install DESTDIR=%{buildroot} -%__cp lib/zipconf.h %buildroot/%_includedir/zipconf.h +%make_install +install -Dpm 0644 lib/zipconf.h %{buildroot}/%{_includedir}/zipconf.h rm -f %{buildroot}%{_libdir}/libzip.la -%post -n libzip%{soname} -p /sbin/ldconfig - -%postun -n libzip%{soname} -p /sbin/ldconfig +%post -n libzip%{sover} -p /sbin/ldconfig +%postun -n libzip%{sover} -p /sbin/ldconfig %files tools %defattr(-,root,root) %{_bindir}/zipcmp %{_bindir}/zipmerge %{_bindir}/ziptool -%{_mandir}/man1/*.1* +%{_mandir}/man1/zipcmp.1%{ext_man} +%{_mandir}/man1/zipmerge.1%{ext_man} +%{_mandir}/man1/ziptool.1%{ext_man} -%files -n libzip%{soname} +%files -n libzip%{sover} %defattr(-,root,root) %doc LICENSE -%{_libdir}/libzip.so.%{soname}* +%{_libdir}/libzip.so.%{sover}* %files devel %defattr(-,root,root) @@ -121,6 +127,6 @@ %{_includedir}/zipconf.h %{_libdir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc -%{_mandir}/man3/*.3* +%{_mandir}/man3/*.3%{ext_man} %changelog