Hello community, here is the log from the commit of package netpbm for openSUSE:Factory checked in at 2019-06-04 12:07:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netpbm (Old) and /work/SRC/openSUSE:Factory/.netpbm.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "netpbm" Tue Jun 4 12:07:24 2019 rev:68 rq:706655 version:10.86.3 Changes: -------- --- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes 2019-05-17 23:39:27.778034762 +0200 +++ /work/SRC/openSUSE:Factory/.netpbm.new.5148/netpbm.changes 2019-06-04 12:07:27.911917573 +0200 @@ -1,0 +2,6 @@ +Fri May 31 09:32:34 UTC 2019 - pgajdos@suse.com + +- enable the test suite +- do no ship pstopnm [bsc#1136936] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netpbm.spec ++++++ --- /var/tmp/diff_new_pack.y7v1jr/_old 2019-06-04 12:07:29.091917187 +0200 +++ /var/tmp/diff_new_pack.y7v1jr/_new 2019-06-04 12:07:29.095917186 +0200 @@ -128,7 +128,6 @@ %install # netpbm has _interactive_ install perl script, see doc/INSTALL make pkgdir=`pwd`/package package STRIPFLAG= -rm package/bin/g3topbm #conflict with g3utils # mkdir -p %{buildroot}%{_prefix}/{bin,include,%{_lib},share/man,share/%{name}} cp -pd package/bin/* %{buildroot}%{_bindir} @@ -138,10 +137,23 @@ cp -prd man/* %{buildroot}%{_mandir} install -m 644 converter/other/pnmtopalm/*.map \ %{buildroot}%{_datadir}/%{name} +rm %{buildroot}%{_bindir}/g3topbm # conflict with g3utils +rm %{buildroot}%{_bindir}/pstopnm # disable due security reasons, e. g. [bsc#1105592] %post -n libnetpbm%{libmaj} -p /sbin/ldconfig %postun -n libnetpbm%{libmaj} -p /sbin/ldconfig +%check +# do not run unneccesary tests +sed -i '/all-in-place/d' test/Test-Order +sed -i '/legacy-names/d' test/Test-Order +# picttoppm.c: #error "Unfixable. Don't ship me" +sed -i '/pict-roundtrip/d' test/Test-Order +# pstopnm is not shipped +sed -i '/^ps.*\.test/d' test/Test-Order +mkdir package-test-{tmp,results} +make pkgdir=`pwd`/package tmpdir=`pwd`/package-test-tmp RESULTDIR=`pwd`/package-test-results check-package + %files %doc README doc/* netpbm.sourceforge.net/doc %doc pnmtopalm/