diff --git a/graphene.changes b/graphene.changes index 80e2ee9..c121fbe 100644 --- a/graphene.changes +++ b/graphene.changes @@ -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 diff --git a/graphene.spec b/graphene.spec index e668746..8aeff33 100644 --- a/graphene.spec +++ b/graphene.spec @@ -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