Hello community, here is the log from the commit of package pnm2ppa for openSUSE:Factory checked in at 2020-06-17 14:55:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pnm2ppa (Old) and /work/SRC/openSUSE:Factory/.pnm2ppa.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pnm2ppa" Wed Jun 17 14:55:27 2020 rev:2 rq:815366 version:1.13 Changes: -------- --- /work/SRC/openSUSE:Factory/pnm2ppa/pnm2ppa.changes 2015-05-27 12:47:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pnm2ppa.new.3606/pnm2ppa.changes 2020-06-17 14:56:23.446224793 +0200 @@ -1,0 +2,6 @@ +Wed Jun 17 06:47:03 UTC 2020 - Martin Pluskal <[email protected]> + +- Fix building with gcc10 +- Modernise spec file with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pnm2ppa.spec ++++++ --- /var/tmp/diff_new_pack.i4bRnY/_old 2020-06-17 14:56:24.802229435 +0200 +++ /var/tmp/diff_new_pack.i4bRnY/_new 2020-06-17 14:56:24.806229449 +0200 @@ -1,7 +1,7 @@ # # spec file for package pnm2ppa # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2012 Bernhard M. Wiedemann # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,40 +21,35 @@ Version: 1.13 Release: 0 Summary: HP PPA GhostScript filter -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Filesystems -Url: http://sourceforge.net/projects/pnm2ppa/ -Source0: http://sourceforge.net/projects/pnm2ppa/files/pnm2ppa/%{version}/%{name}-%{version}.tar.gz -Source1: %{name}.changes -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://sourceforge.net/projects/pnm2ppa/ +Source0: https://sourceforge.net/projects/pnm2ppa/files/pnm2ppa/%{version}/%{name}-%{version}.tar.gz %description -pnm2ppa is a Ghostscript print filter which allows owners of HP DeskJet 710C, 712C, 720C, 722C, 820Cse, 820Cxi, 1000Cse, or 1000Cxi printers to print PostScript Level 2. +pnm2ppa is a Ghostscript print filter which allows owners of HP DeskJet +710C, 712C, 720C, 722C, 820Cse, 820Cxi, 1000Cse, or 1000Cxi printers to +print PostScript Level 2. %prep -%setup -q +%autosetup chmod a-x docs/en/LICENSE sed -i -e 's/\r//' docs/en/LICENSE -# remove date and time -modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")" -DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" -TIME="\"$(date -d "${modified}" "+%%R")\"" -find . -name '*.[ch]' |\ - xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" %build +export CFLAGS="%{optflags} -fcommon" %configure -make %{?_smp_mflags} +%make_build %install rm -f docs/en/INSTALL* -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install %files -%defattr(-,root,root) -%{_bindir}/*ppa +%license docs/en/LICENSE %doc docs/en %config(noreplace) %{_sysconfdir}/pnm2ppa.conf -%doc %{_mandir}/man1/pnm2ppa.1.gz +%{_bindir}/*ppa +%{_mandir}/man1/pnm2ppa.1%{?ext_man} %changelog
