From c9e26c7430c764f7ea2d7fad4daa1da3f46c0cd4bd4bda9cb4860cb0c7782e70 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 3 Apr 2025 16:24:52 +1100 Subject: [PATCH] Support older and current versions of setuptools Older versions of setuptools do not normalize the metadata directory, whereas the newer does, so we need to support both cases. --- tbb.changes | 6 ++++++ tbb.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tbb.changes b/tbb.changes index be6141e..ebf6872 100644 --- a/tbb.changes +++ b/tbb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 05:23:16 UTC 2025 - Steve Kowalik + +- Support older and current versions of setuptools WRT to the case of + the metadata directory. + ------------------------------------------------------------------- Wed Jan 8 17:41:12 UTC 2025 - Matej Cepl diff --git a/tbb.spec b/tbb.spec index 052c9cd..c22e016 100644 --- a/tbb.spec +++ b/tbb.spec @@ -308,7 +308,7 @@ popd %files %{python_files %{name}} %{python_sitearch}/tbb %{python_sitearch}/TBB.py -%{python_sitearch}/TBB-%{version}*-info +%{python_sitearch}/[Tt][Bb][Bb]-%{version}.dist-info %pycache_only %{python_sitearch}/__pycache__/TBB* %endif -- 2.49.0