SHA256
1
0
forked from pool/graphene

Accepting request 546766 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/546766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphene?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2017-12-04 11:15:02 +00:00 committed by Git OBS Bridge
commit 6c508329a8
2 changed files with 15 additions and 1 deletions

View File

@ -1,8 +1,18 @@
-------------------------------------------------------------------
Wed Nov 29 12:22:26 UTC 2017 - dimstar@opensuse.org
- Switch to python3:
+ Update the shebang in src/identfilter.py using sed.
+ Replace --identifier-filter-cmd=python in src/meson.build with
--identifier-filter-cmd=python3 (using sed).
+ Add python3-base BuildRequires: needed to have the python3
interpreter present.
-------------------------------------------------------------------
Thu Aug 10 01:57:07 CEST 2017 - ro@suse.de
- on i586, disable sse2 for the moment, otherwise the package
fails in the testsuite on the "box" test
fails in the testsuite on the "box" test
-------------------------------------------------------------------
Sat Mar 4 08:47:33 UTC 2017 - zaitor@opensuse.org

View File

@ -28,6 +28,7 @@ Source99: baselibs.conf
BuildRequires: gobject-introspection-devel
BuildRequires: meson >= 0.37.0
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -76,6 +77,9 @@ This subpackage contains the development files for the Graphene library.
%prep
%setup -q
# replace usr/bin/env shebang
sed -i "s|/usr/bin/env python|/usr/bin/python3|" src/identfilter.py
sed -i "s|--identifier-filter-cmd=python|--identifier-filter-cmd=python3|" src/meson.build
%build
# meson errors out without a utf8 LANG set