diff --git a/python-propcache.changes b/python-propcache.changes index 5030d58..86bb663 100644 --- a/python-propcache.changes +++ b/python-propcache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 13 11:54:18 UTC 2024 - Bernhard Wiedemann + +- Add reproducible.patch to not embed a random tmpdir in binaries (boo#1062303) + ------------------------------------------------------------------- Wed Oct 9 07:35:20 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-propcache.spec b/python-propcache.spec index 95027a2..38418a9 100644 --- a/python-propcache.spec +++ b/python-propcache.spec @@ -23,6 +23,7 @@ Summary: Accelerated property cache License: Apache-2.0 URL: https://github.com/aio-libs/propcache Source: https://files.pythonhosted.org/packages/source/p/propcache/propcache-%{version}.tar.gz +Patch0: reproducible.patch BuildRequires: python-rpm-macros BuildRequires: %{python_module Cython >= 3.0.11} BuildRequires: %{python_module expandvars} diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..6c4fb40 --- /dev/null +++ b/reproducible.patch @@ -0,0 +1,13 @@ +diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py +index 7245be9..ad4dd85 100644 +--- a/packaging/pep517_backend/_backend.py ++++ b/packaging/pep517_backend/_backend.py +@@ -321,7 +321,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(