Hello community, here is the log from the commit of package gconf2 for openSUSE:Factory checked in at 2019-06-24 21:49:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gconf2 (Old) and /work/SRC/openSUSE:Factory/.gconf2.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gconf2" Mon Jun 24 21:49:25 2019 rev:72 rq:709247 version:3.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/gconf2/gconf2.changes 2019-05-17 23:40:04.174014771 +0200 +++ /work/SRC/openSUSE:Factory/.gconf2.new.4615/gconf2.changes 2019-06-24 21:49:26.431923439 +0200 @@ -1,0 +2,7 @@ +Tue Jun 11 16:16:53 UTC 2019 - [email protected] + +- Run gsettings-schema-convert through 2to3, and adjust to use + python 3. Also require python3, rather than python, and remove + python-lxml Recommends (boo#1136216). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gconf2.spec ++++++ --- /var/tmp/diff_new_pack.sDeqYb/_old 2019-06-24 21:49:26.987923868 +0200 +++ /var/tmp/diff_new_pack.sDeqYb/_new 2019-06-24 21:49:26.987923868 +0200 @@ -1,7 +1,7 @@ # # spec file for package gconf2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -49,6 +49,8 @@ BuildRequires: libidl-devel BuildRequires: libxml2-devel BuildRequires: polkit-devel +# for 2to3 +BuildRequires: python3-tools BuildRequires: translation-update-upstream BuildRequires: update-desktop-files Recommends: %{name}-lang = %{version} @@ -83,8 +85,7 @@ Group: Development/Libraries/GNOME Requires: %{name} = %{version} # For gsettings-schema-convert: -Requires: python -Recommends: python-lxml +Requires: python3 Provides: gconf2-doc = %{version} Obsoletes: gconf2-doc < %{version} @@ -103,6 +104,8 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +2to3 --write --nobackup gsettings/gsettings-schema-convert +sed -i "s/env python$/python3/" gsettings/gsettings-schema-convert cp -a %{SOURCE1} %{SOURCE2} . %build
