From ee68ee128ceb4df4afdc6a6744e3e4d7566b873ac2f37c31661861257215d55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Sep 2019 07:35:27 +0000 Subject: [PATCH] Accepting request 731012 from home:jayvdb:py3only - Fix setup.py to use sys.executable OBS-URL: https://build.opensuse.org/request/show/731012 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-djvulibre?expand=0&rev=39 --- python-djvulibre.changes | 5 +++++ python-djvulibre.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-djvulibre.changes b/python-djvulibre.changes index 093ead8..0c4ef6e 100644 --- a/python-djvulibre.changes +++ b/python-djvulibre.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 15 03:03:19 UTC 2019 - John Vandenberg + +- Fix setup.py to use sys.executable + ------------------------------------------------------------------- Tue Apr 9 06:05:11 UTC 2019 - Kyrill Detinov diff --git a/python-djvulibre.spec b/python-djvulibre.spec index 695e679..589bb4e 100644 --- a/python-djvulibre.spec +++ b/python-djvulibre.spec @@ -61,6 +61,8 @@ This package contains technical documentation. %prep %setup -q chmod -x examples/* +# https://github.com/jwilk/python-djvulibre/pull/11 +sed -i "s/'python'/sys.executable/" setup.py %build export CFLAGS="%{optflags} -fno-strict-aliasing"