Hello community,

here is the log from the commit of package gimp for openSUSE:Factory checked in 
at 2020-09-21 17:05:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gimp (Old)
 and      /work/SRC/openSUSE:Factory/.gimp.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gimp"

Mon Sep 21 17:05:11 2020 rev:119 rq:835241 version:2.10.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/gimp/gimp.changes        2020-07-31 
15:54:29.180280693 +0200
+++ /work/SRC/openSUSE:Factory/.gimp.new.4249/gimp.changes      2020-09-21 
17:07:12.871126567 +0200
@@ -1,0 +2,5 @@
+Tue Sep 15 22:33:51 UTC 2020 - Michael Gorse <[email protected]>
+
+- Make python 2 conditional, and disable on SLE/Leap (bsc#1082699).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gimp.spec ++++++
--- /var/tmp/diff_new_pack.sqtFOp/_old  2020-09-21 17:07:15.367128811 +0200
+++ /var/tmp/diff_new_pack.sqtFOp/_new  2020-09-21 17:07:15.371128814 +0200
@@ -18,6 +18,11 @@
 
 %global abiver 4
 %global apiver 2.0
+%if 0%{?sle_version}
+%bcond_with python2
+%else
+%bcond_without python2
+%endif
 Name:           gimp
 Version:        2.10.20
 Release:        0
@@ -59,7 +64,9 @@
 BuildRequires:  libwmf-devel >= 0.2.8
 BuildRequires:  libxslt-tools
 BuildRequires:  pkgconfig
+%if %{with python2}
 BuildRequires:  python-gtk-devel >= 2.10.4
+%endif
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(atk) >= 2.2.0
@@ -100,7 +107,9 @@
 Requires:       libgimpui-2_0-0 = %{version}
 Requires:       xdg-utils
 Recommends:     %{name}-lang
+%if %{with python2}
 Recommends:     %{name}-plugins-python = %{version}
+%endif
 Recommends:     iso-codes
 Suggests:       AdobeICCProfiles
 Suggests:       gimp-2.0-scanner-plugin
@@ -142,6 +151,7 @@
 
 This package provides GIMP UI libraries.
 
+%if %{with python2}
 %package plugins-python
 Summary:        The GNU Image Manipulation Program - python-gtk based plugins
 Group:          Productivity/Graphics/Bitmap Editors
@@ -157,6 +167,7 @@
 The GIMP is an image composition and editing program. GIMP offers
 many tools and filters, and provides a large image manipulation
 toolbox and scripting.
+%endif
 
 %package plugin-aa
 Summary:        The GNU Image Manipulation Program -- ASCII-Art output plugin
@@ -232,6 +243,9 @@
        --without-webkit\
        --with-lcms=lcms2\
 %endif
+%if %{without python2}
+       --disable-python \
+%endif
        --libexecdir=%{_libexecdir}\
        --enable-default-binary\
        --disable-check-update\
@@ -353,11 +367,13 @@
 %{_libdir}/libgimpui-2.0.so.*
 %{_libdir}/libgimpwidgets-2.0.so.*
 
+%if %{with python2}
 %files plugins-python -f plugins-python.list
 %{_libdir}/gimp/2.0/environ/pygimp.env
 %{_libdir}/gimp/2.0/interpreters/pygimp.interp
 %{_libdir}/gimp/2.0/python/
 # FIXME: Maybe split gimp-lang and gimp-plugins-python-lang
+%endif
 
 %files lang -f gimp20.lang
 


Reply via email to