14
0
forked from pool/python-pysvn

Replace %__python3 with %python_exec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=45
This commit is contained in:
2020-12-15 15:24:24 +00:00
committed by Git OBS Bridge
parent b27e9695b3
commit 1b5c9d4e7c

View File

@@ -63,7 +63,7 @@ rm -rf Import
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
pushd Source pushd Source
%{__python3} setup.py configure \ %{python_exec} setup.py configure \
--enable-debug --verbose --fixed-module-name --norpath --enable-debug --verbose --fixed-module-name --norpath
sed -i -e 's@-Wall -fPIC -fexceptions -frtti@%{optflags} -fPIC -frtti@' Makefile sed -i -e 's@-Wall -fPIC -fexceptions -frtti@%{optflags} -fPIC -frtti@' Makefile