- Override install location to platformdir for distutils hijacked

by setuptools 60+

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip4?expand=0&rev=4
This commit is contained in:
Benjamin Greiner 2022-08-09 19:12:02 +00:00 committed by Git OBS Bridge
parent 6c7c87fa26
commit c8989fe045
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 9 19:06:32 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Override install location to platformdir for distutils hijacked
by setuptools 60+
-------------------------------------------------------------------
Sun Aug 29 18:36:46 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -158,7 +158,8 @@ ldlibrary=`$python -c "import sysconfig as s;print(s.get_config_var('LDLIBRARY')
$python ../configure.py --debug \
CFLAGS+="%{optflags}" \
CXXFLAGS+="%{optflags}" \
LIBS+="-l$ldlibrary"
LIBS+="-l$ldlibrary" \
-d %{$python_sitearch}
make %{?_smp_mflags}
@ -187,7 +188,8 @@ $python ../configure.py --debug \
CFLAGS+="%{optflags}" \
CXXFLAGS+="%{optflags}" \
LIBS+="-l$ldlibrary" \
--no-dist-info
--no-dist-info \
-d %{$python_sitearch}
make %{?_smp_mflags}