Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyrsistent for 
openSUSE:Factory checked in at 2024-09-25 21:52:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyrsistent (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyrsistent.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyrsistent"

Wed Sep 25 21:52:54 2024 rev:16 rq:1202968 version:0.20.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyrsistent/python-pyrsistent.changes      
2024-08-01 22:03:32.542271482 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyrsistent.new.29891/python-pyrsistent.changes
   2024-09-25 21:53:04.839756189 +0200
@@ -1,0 +2,5 @@
+Tue Sep 24 11:32:02 UTC 2024 - ecsos <ec...@opensuse.org>
+
+- Fix build error under Leap.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyrsistent.spec ++++++
--- /var/tmp/diff_new_pack.plXYO9/_old  2024-09-25 21:53:05.371778318 +0200
+++ /var/tmp/diff_new_pack.plXYO9/_new  2024-09-25 21:53:05.371778318 +0200
@@ -26,7 +26,7 @@
 URL:            http://github.com/tobgu/pyrsistent/
 Source:         
https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM - gh/tobgu/pyrsistent#284 - Replace _PyList_Extend with 
PyList_SetSlice
-Patch:          
https://patch-diff.githubusercontent.com/raw/tobgu/pyrsistent/pull/284.patch#/replace-private-function.patch
+Patch1:         
https://patch-diff.githubusercontent.com/raw/tobgu/pyrsistent/pull/284.patch#/replace-private-function.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pip}
@@ -49,7 +49,7 @@
 
 %prep
 %setup -q -n pyrsistent-%{version}
-%patch -P0 -p1
+%patch -P 1 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -57,6 +57,11 @@
 
 %install
 %pyproject_install
+# Fix python-bytecode-inconsistent-mtime
+pushd %{buildroot}%{python_sitearch}
+find . -name '*.pyc' -exec rm -f '{}' ';'
+python%python_bin_suffix -m compileall *.py ';'
+popd
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check

Reply via email to