From c8989fe045df1e341981113e380dcb437e43344a7bccc61fb17c7d8d7804bf5b Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 9 Aug 2022 19:12:02 +0000 Subject: [PATCH] - 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 --- python-sip4.changes | 6 ++++++ python-sip4.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-sip4.changes b/python-sip4.changes index 972420e..bc6683c 100644 --- a/python-sip4.changes +++ b/python-sip4.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 9 19:06:32 UTC 2022 - Ben Greiner + +- Override install location to platformdir for distutils hijacked + by setuptools 60+ + ------------------------------------------------------------------- Sun Aug 29 18:36:46 UTC 2021 - Ben Greiner diff --git a/python-sip4.spec b/python-sip4.spec index ecb0f41..89fe06c 100644 --- a/python-sip4.spec +++ b/python-sip4.spec @@ -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}