commit pngcrush for openSUSE:Factory

Hello community, here is the log from the commit of package pngcrush for openSUSE:Factory checked in at 2017-03-02 19:37:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pngcrush (Old) and /work/SRC/openSUSE:Factory/.pngcrush.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pngcrush" Thu Mar 2 19:37:05 2017 rev:4 rq:460633 version:1.7.92 Changes: -------- --- /work/SRC/openSUSE:Factory/pngcrush/pngcrush.changes 2016-01-28 17:22:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pngcrush.new/pngcrush.changes 2017-03-02 19:37:06.537560046 +0100 @@ -1,0 +2,9 @@ +Mon Aug 22 17:42:57 UTC 2016 - stefan.bruens@rwth-aachen.de + +- Add pngcrush-systemlib.diff + Allow building with system libpng where possible, this fixes + build errors on Aarch64 due to incomplete bundled libpng source +- Drop pngcrush-makefile-add-optflags.diff + Supply optflags via CFLAGS, supported by current Makefile + +------------------------------------------------------------------- Old: ---- pngcrush-makefile-add-optflags.diff New: ---- pngcrush-systemlib.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pngcrush.spec ++++++ --- /var/tmp/diff_new_pack.Dnl5yz/_old 2017-03-02 19:37:07.069484775 +0100 +++ /var/tmp/diff_new_pack.Dnl5yz/_new 2017-03-02 19:37:07.073484209 +0100 @@ -1,7 +1,7 @@ # # spec file for package pngcrush # -# Copyright (c) 2016 SUSE LINUX 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 @@ -24,9 +24,11 @@ Group: Productivity/Graphics/Other Url: http://pmt.sourceforge.net/pngcrush/ Source: http://downloads.sf.net/pmt/%{name}-%{version}.tar.gz -Patch1: pngcrush-makefile-add-optflags.diff +Patch1: pngcrush-systemlib.diff BuildRequires: glibc-devel +%if 0%{?suse_version} > 1310 BuildRequires: libpng-devel +%endif BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,7 +42,7 @@ %prep %setup -q -%patch1 -p1 +%patch1 -p0 %build make %{?_smp_mflags} \ @@ -50,7 +52,12 @@ ZLIB="%{_lib}" \ CC="gcc" \ LD="gcc" \ - OPTFLAGS="%{optflags}" + CFLAGS="%{optflags} -Wshadow" \ +%if 0%{?suse_version} > 1310 + -f Makefile-nolib +%else + -f Makefile +%endif %install install -D -m 0755 pngcrush "%{buildroot}%{_bindir}/pngcrush" ++++++ pngcrush-systemlib.diff ++++++ --- pngconf.h_orig 2016-08-22 19:39:26.807573778 +0200 +++ pngconf.h 2016-08-22 19:25:14.418058847 +0200 @@ -24,7 +24,6 @@ #ifndef PNGCONF_H #define PNGCONF_H -#include "pngcrush.h" #ifndef PNG_BUILDING_SYMBOL_TABLE /* else includes may cause problems */
participants (1)
-
root@hilbertn.suse.de