Hello community,

here is the log from the commit of package mypaint for openSUSE:Factory checked 
in at 2018-04-30 22:56:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mypaint (Old)
 and      /work/SRC/openSUSE:Factory/.mypaint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mypaint"

Mon Apr 30 22:56:26 2018 rev:4 rq:602293 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mypaint/mypaint.changes  2017-12-11 
18:57:01.405074324 +0100
+++ /work/SRC/openSUSE:Factory/.mypaint.new/mypaint.changes     2018-04-30 
22:58:53.492564333 +0200
@@ -1,0 +2,13 @@
+Sat Apr 28 16:25:40 UTC 2018 - [email protected]
+
+- Updated standalone library libmypaint already provides its own
+  lang files; just strip mypaint-lang of all libmypaint.mo files
+  to avoid a file conflict between the libmypaint-lang and
+  mypaint-lang.
+- Recommend instead of requiring lang package.
+- Don't run desktop database and icon cache update scripts as part
+  of post(un) for openSUSE >=1500; these are taken care of by
+  rpm's file triggers.
+- Fix env-based hashbang in the main app binary.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mypaint.spec ++++++
--- /var/tmp/diff_new_pack.IuLysv/_old  2018-04-30 22:58:54.968510476 +0200
+++ /var/tmp/diff_new_pack.IuLysv/_new  2018-04-30 22:58:54.988509746 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mypaint
 #
-# 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,7 +21,7 @@
 Version:        1.1.0
 Release:        0
 Summary:        Graphics application for digital painters
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Graphics/Other
 Url:            http://mypaint.org
 Source:         
https://github.com/mypaint/mypaint/releases/download/v1.1.0/mypaint-1.1.0.tar.bz2
@@ -48,7 +48,7 @@
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(json)
 BuildRequires:  pkgconfig(lcms2)
-Requires:       %{name}-lang = %{version}
+Recommends:     %{name}-lang = %{version}
 %if 0%{?suse_version} >= 1220
 Requires:       python-numpy >= 1.7
 %else
@@ -108,18 +108,28 @@
         %{buildroot}%{_datadir}/pixmaps/
 %suse_update_desktop_file %{name}
 %find_lang %{name}
-%find_lang lib%{name}
+
+# Updated libmypaint already provides its own lang files
+find %{buildroot} -name "libmypaint.mo" -print | xargs rm -f
+
+# Fix env-based hashbang
+sed -E -i "s:/usr/bin/env python*.*:/usr/bin/python3:" 
%{buildroot}%{_bindir}/mypaint 
+
 %fdupes %{buildroot}
 
 %post
 /sbin/ldconfig
+%if 0%{?suse_version} < 1500
 %desktop_database_post
 %icon_theme_cache_post
+%endif
 
 %postun
 /sbin/ldconfig
+%if 0%{?suse_version} < 1500
 %desktop_database_postun
 %icon_theme_cache_postun
+%endif
 
 %files
 %defattr(-,root,root)
@@ -133,7 +143,7 @@
 %{_datadir}/icons/hicolor/*/*/brush*
 %{_datadir}/pixmaps/%{name}.png
 
-%files lang -f %{name}.lang -f lib%{name}.lang
+%files lang -f %{name}.lang
 
 %files devel
 %defattr(-, root, root)


Reply via email to