Hello community, here is the log from the commit of package gthumb for openSUSE:Factory checked in at 2018-03-08 10:57:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gthumb (Old) and /work/SRC/openSUSE:Factory/.gthumb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gthumb" Thu Mar 8 10:57:31 2018 rev:86 rq:582693 version:3.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gthumb/gthumb.changes 2017-11-27 22:15:49.384271067 +0100 +++ /work/SRC/openSUSE:Factory/.gthumb.new/gthumb.changes 2018-03-08 10:57:32.841231935 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:32:03 UTC 2018 - [email protected] + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gthumb.spec ++++++ --- /var/tmp/diff_new_pack.PNKHWI/_old 2018-03-08 10:57:33.513207644 +0100 +++ /var/tmp/diff_new_pack.PNKHWI/_new 2018-03-08 10:57:33.517207500 +0100 @@ -1,7 +1,7 @@ # # spec file for package gthumb # -# Copyright (c) 2017 SUSE LINUX 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 @@ -21,9 +21,9 @@ Release: 0 # FIXME: Add libchamplain BuildRequires once the map feature is considered stable. Summary: An Image Viewer and Browser for GNOME -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Graphics/Viewers -Url: https://wiki.gnome.org/Apps/gthumb +URL: https://wiki.gnome.org/Apps/gthumb Source: http://download.gnome.org/sources/gthumb/3.6/%{name}-%{version}.tar.xz BuildRequires: bison BuildRequires: fdupes @@ -34,9 +34,7 @@ BuildRequires: itstool BuildRequires: libjpeg-devel BuildRequires: libtiff-devel -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(clutter-1.0) >= 1.12.0 BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.0.0 @@ -59,14 +57,16 @@ BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsoup-2.4) >= 2.42 BuildRequires: pkgconfig(libwebp) >= 0.2.0 +BuildRequires: pkgconfig(zlib) +Recommends: %{name}-lang +%if !0%{?is_opensuse} +BuildRequires: translation-update-upstream +%endif %if 0%{?suse_version} < 1315 BuildRequires: pkgconfig(webkit2gtk-3.0) %else BuildRequires: pkgconfig(webkit2gtk-4.0) %endif -BuildRequires: pkgconfig(zlib) -Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description gThumb lets you browse your hard disk, showing you thumbnails of image @@ -86,6 +86,7 @@ slide shows, set your desktop background, and more. %lang_package + %prep %setup -q %if !0%{?is_opensuse} @@ -94,12 +95,12 @@ %build %if 0%{?suse_version} == 1315 -export CFLAGS="-fPIE %optflags -std=gnu99" +export CFLAGS="-fPIE %{optflags} -std=gnu99" export CXXFLAGS="%{optflags} -std=gnu99" export LDFLAGS="-pie" %else -export CFLAGS="-fPIE %optflags" -export CXXFLAGS="-fPIE %optflags" +export CFLAGS="-fPIE %{optflags}" +export CXXFLAGS="-fPIE %{optflags}" export LDFLAGS="-pie" %endif %configure\ @@ -116,9 +117,9 @@ %fdupes %{buildroot}%{_datadir} %files -%defattr(-, root, root) # TODO is empty -%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README +%license COPYING +%doc AUTHORS ChangeLog MAINTAINERS NEWS README %doc %{_datadir}/help/C/%{name}/ %{_bindir}/gthumb %{_libdir}/gthumb/ @@ -135,7 +136,6 @@ %{_mandir}/man1/gthumb.1%{?ext_man} %files devel -%defattr(-, root, root) %{_includedir}/gthumb-3.6/ %{_datadir}/aclocal/gthumb.m4 %{_libdir}/pkgconfig/*.pc
