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:
parent
f7d42ef965
commit
2429ec7dab
@ -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
|
Sat Oct 28 13:03:54 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -61,9 +61,9 @@ BuildRequires: libselinux-devel
|
|||||||
# glib/Makefile.am calls config.status, and thus triggers a bootstrap
|
# glib/Makefile.am calls config.status, and thus triggers a bootstrap
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-base
|
BuildRequires: python3-base
|
||||||
# gdbus-codegen is run during the build, so we need python-xml
|
# gdbus-codegen is run during the build, so we need python-xml
|
||||||
BuildRequires: python-xml
|
BuildRequires: python3-xml
|
||||||
BuildRequires: xsltproc
|
BuildRequires: xsltproc
|
||||||
# Needed for gresource
|
# Needed for gresource
|
||||||
BuildRequires: pkgconfig(libelf) >= 0.8.12
|
BuildRequires: pkgconfig(libelf) >= 0.8.12
|
||||||
@ -136,7 +136,7 @@ Requires: libgobject-2_0-0 = %{version}
|
|||||||
Requires: libgthread-2_0-0 = %{version}
|
Requires: libgthread-2_0-0 = %{version}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
# Required by gdbus-codegen
|
# Required by gdbus-codegen
|
||||||
Requires: python-xml
|
Requires: python3-xml
|
||||||
Provides: glib2-doc = 2.19.6
|
Provides: glib2-doc = 2.19.6
|
||||||
Obsoletes: glib2-doc < 2.19.6
|
Obsoletes: glib2-doc < 2.19.6
|
||||||
# bug437293
|
# bug437293
|
||||||
@ -280,6 +280,7 @@ autoreconf -fi
|
|||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-selinux \
|
--enable-selinux \
|
||||||
--enable-man \
|
--enable-man \
|
||||||
|
--with-python=%{_bindir}/python3 \
|
||||||
%if 0%{?with_systemtap}
|
%if 0%{?with_systemtap}
|
||||||
--enable-systemtap \
|
--enable-systemtap \
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user