Accepting request 546457 from home:dimstar:branches:GNOME:Factory

Use python3; attempting to eliminate python2 from a default install

OBS-URL: https://build.opensuse.org/request/show/546457
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=348
This commit is contained in:
Dominique Leuenberger 2017-11-30 09:57:30 +00:00 committed by Git OBS Bridge
parent f7d42ef965
commit 2429ec7dab
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Nov 29 11:13:02 UTC 2017 - dimstar@opensuse.org
- Switch to python3:
+ Pass --with-python=/usr/bin/python3 to configure.
+ Replace python-base and python-xml BuildRequires with their
python3 equivalents python3-base and python3-xml.
+ Replace the -devel package's python-xml requires with
python3-xml.
-------------------------------------------------------------------
Sat Oct 28 13:03:54 UTC 2017 - badshah400@gmail.com

View File

@ -61,9 +61,9 @@ BuildRequires: libselinux-devel
# glib/Makefile.am calls config.status, and thus triggers a bootstrap
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-base
BuildRequires: python3-base
# gdbus-codegen is run during the build, so we need python-xml
BuildRequires: python-xml
BuildRequires: python3-xml
BuildRequires: xsltproc
# Needed for gresource
BuildRequires: pkgconfig(libelf) >= 0.8.12
@ -136,7 +136,7 @@ Requires: libgobject-2_0-0 = %{version}
Requires: libgthread-2_0-0 = %{version}
Requires: pkgconfig
# Required by gdbus-codegen
Requires: python-xml
Requires: python3-xml
Provides: glib2-doc = 2.19.6
Obsoletes: glib2-doc < 2.19.6
# bug437293
@ -280,6 +280,7 @@ autoreconf -fi
--enable-static \
--enable-selinux \
--enable-man \
--with-python=%{_bindir}/python3 \
%if 0%{?with_systemtap}
--enable-systemtap \
%endif