Accepting request 546451 from GNOME:Next

- Switch to python3:
  + Replace python-base BuildRequires with python3-base.
  + Export PYTHON=/usr/bin/python3 before calling configure.

OBS-URL: https://build.opensuse.org/request/show/546451
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=99
This commit is contained in:
Tomáš Chvátal 2017-11-29 15:09:12 +00:00 committed by Git OBS Bridge
parent 7dff86f69d
commit b1c6b8ce56
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 29 14:25:58 UTC 2017 - dimstar@opensuse.org
- Switch to python3:
+ Replace python-base BuildRequires with python3-base.
+ Export PYTHON=/usr/bin/python3 before calling configure.
-------------------------------------------------------------------
Mon Sep 18 21:15:50 UTC 2017 - zaitor@opensuse.org

View File

@ -38,7 +38,7 @@ BuildRequires: libSM-devel
BuildRequires: libXext-devel
BuildRequires: libXv-devel
BuildRequires: orc >= 0.4.24
BuildRequires: python-base
BuildRequires: python3-base
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.12.0
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
@ -414,6 +414,7 @@ translation-update-upstream po gst-plugins-base-%{gst_branch}
# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
export CFLAGS="%{optflags} -fno-strict-aliasing"
export PYTHON=/usr/bin/python3
%configure\
--with-package-name='openSUSE GStreamer-plugins-base package'\
--with-package-origin='http://download.opensuse.org'\