Hello community, here is the log from the commit of package optipng for openSUSE:Factory checked in at 2015-04-27 22:08:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/optipng (Old) and /work/SRC/openSUSE:Factory/.optipng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "optipng" Changes: -------- --- /work/SRC/openSUSE:Factory/optipng/optipng.changes 2014-03-31 20:44:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.optipng.new/optipng.changes 2015-04-27 22:09:20.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Apr 27 14:23:20 UTC 2015 - mplus...@suse.com + +- Cleanup spec file with spec-clener +- Update dependencies +- Enable checks + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ optipng.spec ++++++ --- /var/tmp/diff_new_pack.Jm9lm9/_old 2015-04-27 22:09:21.000000000 +0200 +++ /var/tmp/diff_new_pack.Jm9lm9/_new 2015-04-27 22:09:21.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package optipng # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -25,8 +25,8 @@ Url: http://optipng.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-%{version}/optipng-%{version}.tar.gz Source1: macros.optipng -# patch sent at cos...@cs.toronto.edu BuildRequires: libpng-devel +BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,8 +39,14 @@ %setup -q %build +# not autotools generated configure export CFLAGS="%{optflags}" -./configure -with-system-zlib -with-system-libpng -prefix=%{_prefix} -mandir=%{_mandir} +./configure \ + -with-system-zlib \ + -with-system-libpng \ + -prefix=%{_prefix} \ + -mandir=%{_mandir} + #don't strip binaries sed -i "s:\(LDFLAGS = \)-s:\1:" src/optipng/Makefile make %{?_smp_mflags} @@ -49,11 +55,14 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.optipng +%check +make %{?_smp_mflags} check + %files %defattr(-,root,root) %doc README.txt doc %{_bindir}/optipng %{_mandir}/man1/optipng.1.gz -%{_sysconfdir}/rpm/macros.optipng +%config %{_sysconfdir}/rpm/macros.optipng %changelog