Hello community, here is the log from the commit of package scratch for openSUSE:Factory checked in at 2018-06-04 13:22:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scratch (Old) and /work/SRC/openSUSE:Factory/.scratch.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "scratch" Mon Jun 4 13:22:35 2018 rev:8 rq:613839 version:2.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/scratch/scratch.changes 2018-01-25 12:41:18.228525653 +0100 +++ /work/SRC/openSUSE:Factory/.scratch.new/scratch.changes 2018-06-04 13:23:41.530067280 +0200 @@ -1,0 +2,12 @@ +Sat Jun 2 22:59:30 UTC 2018 - bjorn.lie@gmail.com + +- Drop pkgconfig(gconf-2.0) BuildRequires: No longer needed, nor + used. +- Run spec-cleaner, modernize spec. +- Add conditional for update-desktop-files BuildRequires and + glib2_gsettings_schema_requires as well as post(un) handling of + glib2_gsettings_schema_post(un) and desktop_database_post(un), + andsuse_update_desktop_file macro, no longer needed on modern + releases of openSUSE. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scratch.spec ++++++ --- /var/tmp/diff_new_pack.7kbN1e/_old 2018-06-04 13:23:42.050048240 +0200 +++ /var/tmp/diff_new_pack.7kbN1e/_new 2018-06-04 13:23:42.058047946 +0200 @@ -1,7 +1,7 @@ # # spec file for package scratch # -# 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 @@ -22,9 +22,9 @@ Version: 2.4.1 Release: 0 Summary: Extensible Text Editor for Elementary OS -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Text/Editors -Url: https://launchpad.net/scratch +URL: https://launchpad.net/scratch Source: https://launchpad.net/scratch/2.x/%{version}/+download/%{_name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM vala-0.36.patch -- Fix build with vala >= 0.36. Patch0: scratch-2.4.1-vala-0.36.patch @@ -36,8 +36,9 @@ BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: pkgconfig +%if 0%{?suse_version} < 1500 BuildRequires: update-desktop-files -BuildRequires: pkgconfig(gconf-2.0) +%endif BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) @@ -54,10 +55,12 @@ BuildRequires: pkgconfig(vapigen) >= 0.28.0 BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.10 BuildRequires: pkgconfig(zeitgeist-2.0) +Recommends: %{name}-lang Recommends: contractor Recommends: zeitgeist -Recommends: %{name}-lang +%if 0%{?suse_version} < 1500 %glib2_gsettings_schema_requires +%endif %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120000 BuildRequires: pkgconfig(vte-2.91) %else @@ -121,10 +124,13 @@ %install %cmake_install +%if 0%{?suse_version} < 1500 %suse_update_desktop_file org.pantheon.scratch +%endif %fdupes %{buildroot}%{_datadir}/ %find_lang scratch-text-editor %{name}.lang +%if 0%{?suse_version} < 1500 %post %glib2_gsettings_schema_post %desktop_database_post @@ -132,14 +138,14 @@ %postun %glib2_gsettings_schema_postun %desktop_database_postun +%endif %post -n lib%{name}core%{sover} -p /sbin/ldconfig - %postun -n lib%{name}core%{sover} -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc COPYING HACKING +%license COPYING +%doc HACKING %{_bindir}/%{name}-text-editor %{_libdir}/%{name}/ %{_datadir}/%{name}/ @@ -149,14 +155,11 @@ %{_datadir}/appdata/org.pantheon.scratch.appdata.xml %files lang -f %{name}.lang -%defattr(-,root,root) %files -n lib%{name}core%{sover} -%defattr(-,root,root) %{_libdir}/lib%{name}core.so.* %files devel -%defattr(-,root,root) %{_libdir}/lib%{name}core.so %{_libdir}/pkgconfig/%{name}core.pc %{_datadir}/vala/vapi/%{name}core.*