Hello community,

here is the log from the commit of package zziplib for openSUSE:Factory checked 
in at 2017-11-10 14:40:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zziplib (Old)
 and      /work/SRC/openSUSE:Factory/.zziplib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zziplib"

Fri Nov 10 14:40:06 2017 rev:24 rq:539292 version:0.13.62

Changes:
--------
--- /work/SRC/openSUSE:Factory/zziplib/zziplib.changes  2017-03-31 
15:04:43.292811777 +0200
+++ /work/SRC/openSUSE:Factory/.zziplib.new/zziplib.changes     2017-11-10 
14:41:38.098275409 +0100
@@ -1,0 +2,7 @@
+Wed Nov  1 12:37:02 UTC 2017 - [email protected]
+
+- Packaking changes:
+  * Depend on python2 explicitly
+  * Cleanup with spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zziplib.spec ++++++
--- /var/tmp/diff_new_pack.5cUiBl/_old  2017-11-10 14:41:39.038241433 +0100
+++ /var/tmp/diff_new_pack.5cUiBl/_new  2017-11-10 14:41:39.042241288 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zziplib
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,17 @@
 #
 
 
-Name:           zziplib
 %define lname  libzzip-0-13
+Name:           zziplib
+Version:        0.13.62
+Release:        0
 Summary:        Free Zip Compression Library with an Easy-to-Use API
 License:        LGPL-2.1+
 Group:          System/Libraries
-Version:        0.13.62
-Release:        0
 Url:            http://zziplib.sourceforge.net
 Source0:        
http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
-Patch:          zziplib-0.13.62.patch
+Patch0:         zziplib-0.13.62.patch
 Patch1:         zziplib-0.13.62-wronglinking.patch
 Patch2:         zziplib-largefile.patch
 Patch3:         zziplib-CVE-2017-5974.patch
@@ -36,33 +36,35 @@
 Patch7:         zziplib-CVE-2017-5979.patch
 Patch8:         zziplib-unzipcat-NULL-name.patch
 Patch9:         zziplib-CVE-2017-5981.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
-BuildRequires:  python
-BuildRequires:  zlib-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  xmlto
+BuildRequires:  pkgconfig(python2)
+BuildRequires:  pkgconfig(zlib)
 
 %description
 ZZipLib is a library for dealing with zip and zip-like archives by
 using free algorithms of zlib.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        Free zip compression library with easy to use API
 Group:          System/Libraries
-Obsoletes:      zziplib < %version-%release
-Provides:       zziplib = %version-%release
+Obsoletes:      zziplib < %{version}-%{release}
+Provides:       zziplib = %{version}-%{release}
 
-%description -n %lname
+%description -n %{lname}
 ZZipLib is a library for dealing with zip and zip-like archives by
 using free algorithms of zlib.
 
 %package devel
 Summary:        Free zip compression library with easy to use API
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %version
-Requires:       zlib-devel
+Requires:       %{lname} = %{version}
+Requires:       pkgconfig(zlib)
 
 %description devel
 That are the header files needed for developing applications using
@@ -70,7 +72,7 @@
 
 %prep
 %setup -q
-%patch
+%patch0
 %patch1
 %patch2
 %patch3 -p1
@@ -81,35 +83,34 @@
 %patch8 -p1
 %patch9 -p1
 
-# Fix wrong encoding
-dos2unix docs/README.MSVC6
-dos2unix docs/sdocbook.css
-
 %build
 autoreconf -fiv
-%configure --with-largefile --enable-frame-pointer --disable-static --with-pic
-make %{?_smp_mflags} all;
-make doc;
+%configure \
+  --with-largefile \
+  --enable-frame-pointer \
+  --disable-static \
+  --with-pic
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-%{__rm} -f docs/Make* docs/zziplib-manpages.ar
-find "%buildroot" -name "*.la" -type f -delete
-%fdupes %buildroot
+%make_install
+# Fix wrong encoding
+dos2unix docs/README.MSVC6
+dos2unix docs/sdocbook.css
+rm -f docs/Make* docs/zziplib-manpages.ar
+find %{buildroot} -type f -name "*.la" -delete -print
+%fdupes %{buildroot}
 
 %check 
-%{__make} check || exit 0
-
-%post -n %lname -p /sbin/ldconfig
+make %{?_smp_mflags} check || exit 0
 
-%postun -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files -n %lname
-%defattr(-,root,root)
+%files -n %{lname}
 %{_libdir}/libzzip*.so.*
 
 %files devel
-%defattr(-,root,root)
 %doc docs/README* docs/* ChangeLog README TODO 
 %{_bindir}/unzzip*
 %{_bindir}/zz*


Reply via email to