diff --git a/python-frozenlist.changes b/python-frozenlist.changes index f9225c6..ce37481 100644 --- a/python-frozenlist.changes +++ b/python-frozenlist.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 16 08:30:56 UTC 2024 - Bernhard Wiedemann + +- Add reproducible.patch to avoid embedding a random tmp dir (boo#1062303) + ------------------------------------------------------------------- Mon Jan 8 09:11:26 UTC 2024 - Dirk Müller diff --git a/python-frozenlist.spec b/python-frozenlist.spec index 4ffd1e5..5c3cff7 100644 --- a/python-frozenlist.spec +++ b/python-frozenlist.spec @@ -25,6 +25,8 @@ License: Apache-2.0 URL: https://github.com/aio-libs/frozenlist Source: https://files.pythonhosted.org/packages/source/f/frozenlist/frozenlist-%{version}.tar.gz Patch1: no-pytest-cov.patch +# PATCH-FIX-OPENSUSE - avoid embedding random tmp dir in .so +Patch2: reproducible.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module expandvars} diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..8db2072 --- /dev/null +++ b/reproducible.patch @@ -0,0 +1,15 @@ +workaround https://github.com/cython/cython/issues/5949 + +diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py +index 8bb2ee2..e640738 100644 +--- a/packaging/pep517_backend/_backend.py ++++ b/packaging/pep517_backend/_backend.py +@@ -286,7 +286,7 @@ def build_wheel( + """ + with maybe_prebuild_c_extensions( + line_trace_cython_when_unset=False, +- build_inplace=False, ++ build_inplace=True, + config_settings=config_settings, + ): + return _setuptools_build_wheel(