Accepting request 989742 from home:bnavigator:branches:devel:languages:python
- Work around vendored distutils in setuptools >= 60 incorrectly installing pkgconfig files into the wrong libdir OBS-URL: https://build.opensuse.org/request/show/989742 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=139
This commit is contained in:
parent
3462bad259
commit
5a76cf23cf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 16 22:53:44 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Work around vendored distutils in setuptools >= 60 incorrectly
|
||||
installing pkgconfig files into the wrong libdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 9 12:51:17 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -124,6 +124,12 @@ export CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# Incorrectly installed by a python38-setuptools vendored distutils
|
||||
# which does not play well with the distro patched python38.
|
||||
# Later flavors installed the correct files into lib64 as well
|
||||
if [ "%{_libdir}" != "%{_prefix}/lib" -a -d %{buildroot}%{_prefix}/lib/pkgconfig ]; then
|
||||
rm -r %{buildroot}%{_prefix}/lib/pkgconfig
|
||||
fi
|
||||
|
||||
%{python_expand # delete unwanted python scripts and their compiled cache files
|
||||
# Drop pygtkcompat layer - It's useless and we lack other stuff for it to work
|
||||
|
Loading…
Reference in New Issue
Block a user