Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pycairo for openSUSE:Factory 
checked in at 2022-08-04 13:23:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycairo (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycairo.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycairo"

Thu Aug  4 13:23:08 2022 rev:7 rq:989819 version:1.20.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycairo/python-pycairo.changes    
2021-08-16 10:13:00.454998425 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycairo.new.1521/python-pycairo.changes  
2022-08-04 13:23:17.892470529 +0200
@@ -1,0 +2,7 @@
+Sat Jul 16 22:51:05 UTC 2022 - Ben Greiner <[email protected]>
+
+- Work around vendored distutils in setuptools >= 60 incorrectly
+  installing pkgconfig files into the wrong libdir
+- Deduplicate files in python_sitearch
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pycairo.spec ++++++
--- /var/tmp/diff_new_pack.zn0MGw/_old  2022-08-04 13:23:18.328471766 +0200
+++ /var/tmp/diff_new_pack.zn0MGw/_new  2022-08-04 13:23:18.332471778 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycairo
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cairo-devel >= 1.15.10
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Provides:       python-cairo = %{version}
 Obsoletes:      python-cairo < %{version}
@@ -77,6 +78,13 @@
 
 %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 %fdupes %{buildroot}%{$python_sitearch}
 
 %check
 # this is not the deprecated setuptools test call but a custom setup compiling 
stuff and running pytest

Reply via email to