Hello community, here is the log from the commit of package libgnomeprint for openSUSE:Factory checked in at 2018-03-09 10:42:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgnomeprint (Old) and /work/SRC/openSUSE:Factory/.libgnomeprint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libgnomeprint" Fri Mar 9 10:42:08 2018 rev:41 rq:582918 version:2.18.8 Changes: -------- --- /work/SRC/openSUSE:Factory/libgnomeprint/libgnomeprint.changes 2015-01-20 12:26:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomeprint.new/libgnomeprint.changes 2018-03-09 10:42:10.048248303 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:34:53 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgnomeprint.spec ++++++ --- /var/tmp/diff_new_pack.CxERhR/_old 2018-03-09 10:42:11.216206241 +0100 +++ /var/tmp/diff_new_pack.CxERhR/_new 2018-03-09 10:42:11.220206097 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgnomeprint # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,35 +17,16 @@ Name: libgnomeprint -BuildRequires: bison -BuildRequires: cups-devel -BuildRequires: fdupes -BuildRequires: flex -BuildRequires: gtk-doc -BuildRequires: intltool -BuildRequires: libart_lgpl-devel -BuildRequires: libgnomecups-devel -BuildRequires: libtool -BuildRequires: libxml2-devel -BuildRequires: pango-devel -BuildRequires: popt-devel -BuildRequires: translation-update-upstream -BuildRequires: zlib-devel -# bug437293 -%ifarch ppc64 -Obsoletes: libgnomeprint-64bit -%endif # Version: 2.18.8 Release: 0 Summary: The GNOME 2.x Printing Library -License: GPL-2.0+ and LGPL-2.1+ +License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Libraries/GNOME Source: %{name}-%{version}.tar.bz2 Source1: libgnomeprint-icons.tar.gz Source99: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch: libgnomeprint-suseconfig.dif +Patch0: libgnomeprint-suseconfig.dif Patch1: libgnomeprint.patch Patch3: libgnomeprint-pdf-invalid-path-176712.patch # PATCH-FIX-UPSTREAM libgnomeprint-missing-include.patch bgo#653388 vuntz@opensuse.org -- Add missing include to fix build @@ -54,6 +35,19 @@ Patch5: libgnomeprint-use-recommended-freetype-include.patch # PATCH-FIX-UPSTREAM libgnomeprint-bison-3.0.patch dimstar@opensuse.org -- Fix build with bison 3.0 (upstream no longer maintained) Patch6: libgnomeprint-bison-3.0.patch +BuildRequires: bison +BuildRequires: cups-devel +BuildRequires: flex +BuildRequires: gtk-doc +BuildRequires: intltool +BuildRequires: libart_lgpl-devel +BuildRequires: libgnomecups-devel +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: pango-devel +BuildRequires: popt-devel +BuildRequires: translation-update-upstream +BuildRequires: zlib-devel Recommends: %{name}-lang %description @@ -68,10 +62,6 @@ Requires: libart_lgpl-devel Requires: libxml2-devel Requires: pango-devel -# bug437293 -%ifarch ppc64 -Obsoletes: libgnomeprint-devel-64bit -%endif # %description devel @@ -91,16 +81,17 @@ print documents. %lang_package + %prep %setup -q translation-update-upstream -tar xvfz %SOURCE1 -%patch -p1 +tar xvfz %{SOURCE1} +%patch0 -p1 %patch1 %patch3 %patch4 -p1 -%patch5 -p0 -%patch6 -p0 +%patch5 +%patch6 %build autoreconf -f -i @@ -109,27 +100,19 @@ %configure\ --disable-static\ --disable-gtk-doc -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -%makeinstall -%if 0%{?suse_version} <= 1120 -%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* -%endif -rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*/*/*/*/*.*a +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %find_lang libgnomeprint-2.2 -%fdupes $RPM_BUILD_ROOT %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root) -%doc AUTHORS COPYING README NEWS ChangeLog +%license COPYING +%doc AUTHORS README NEWS ChangeLog %{_datadir}/gnome-print-2.0 %{_datadir}/libgnomeprint %{_libdir}/*.so.* @@ -138,14 +121,11 @@ %files lang -f libgnomeprint-2.2.lang %files devel -%defattr(-,root,root) %{_includedir}/libgnomeprint-2.2 %{_libdir}/*.so -%{_libdir}/*.*a %{_libdir}/pkgconfig/libgnomeprint-2.2.pc %files doc -%defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/* %changelog