Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gobject2 for openSUSE:Factory checked in at 2022-05-14 22:51:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gobject2 (Old) and /work/SRC/openSUSE:Factory/.python-gobject2.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gobject2" Sat May 14 22:51:50 2022 rev:25 rq:975736 version:2.28.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gobject2/python-gobject2.changes 2020-04-19 21:47:11.075805669 +0200 +++ /work/SRC/openSUSE:Factory/.python-gobject2.new.1538/python-gobject2.changes 2022-05-14 22:51:51.674968333 +0200 @@ -1,0 +2,6 @@ +Sun May 8 16:07:38 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- remove Python 3 code from specfile: not compatible with + Python 3.10 + +------------------------------------------------------------------- Old: ---- pre_checkin.sh python3-gobject2.changes python3-gobject2.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gobject2.spec ++++++ --- /var/tmp/diff_new_pack.6I1v7z/_old 2022-05-14 22:51:52.226969023 +0200 +++ /var/tmp/diff_new_pack.6I1v7z/_new 2022-05-14 22:51:52.230969027 +0200 @@ -16,14 +16,8 @@ # -%define build_for_python3 0 -%if %{build_for_python3} -%define local_py_requires Requires: python(abi) = %{py3_ver} -%define local_py_sitedir %{python3_sitearch} -%else %define local_py_requires %py_requires %define local_py_sitedir %{python2_sitearch} -%endif %define _name pygobject Name: python-gobject2 Version: 2.28.7 @@ -36,14 +30,9 @@ BuildRequires: glib2-devel BuildRequires: libffi-devel %{local_py_requires} -%if %{build_for_python3} -BuildRequires: python3-cairo-devel -BuildRequires: python3-devel -%else BuildRequires: python-cairo-devel BuildRequires: python-devel Provides: python2-gobject2 = %{version} -%endif %description Pygobjects is an extension module for python that gives you access to @@ -64,14 +53,9 @@ %package devel Summary: Python bindings for GObject Requires: %{name} = %{version} -%if %{build_for_python3} -# Several files are conflicting between python2 and python3 builds -Conflicts: python-gobject2-devel -%else Provides: python-gobject2-doc = %{version} Obsoletes: python-gobject2-doc < %{version} Provides: python2-gobject2-devel = %{version} -%endif %description devel This package contains files required to build wrappers for gobject @@ -81,9 +65,6 @@ %setup -q -n %{_name}-%{version} %build -%if %{build_for_python3} -export PYTHON=python3 -%endif %configure --disable-static --disable-introspection %make_build @@ -110,11 +91,9 @@ %{_includedir}/pygtk-2.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/pygobject-2.0.pc -%if !%{build_for_python3} ## codegen %{_bindir}/pygobject-codegen-2.0 %{_datadir}/%{_name}/2.0/codegen/ -%endif # we explicitly list the directories here to be sure we don't include something # that should live in the main package %dir %{_datadir}/%{_name}