1
0

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
This commit is contained in:
Tomáš Chvátal 2019-09-16 07:35:27 +00:00 committed by Git OBS Bridge
parent baa81c4944
commit ee68ee128c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 15 03:03:19 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Fix setup.py to use sys.executable
-------------------------------------------------------------------
Tue Apr 9 06:05:11 UTC 2019 - Kyrill Detinov <lazy.kent@opensuse.org>

View File

@ -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"