diff --git a/python-setuptools-rust.changes b/python-setuptools-rust.changes index f781756..6c8a2a4 100644 --- a/python-setuptools-rust.changes +++ b/python-setuptools-rust.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 18 07:35:46 UTC 2022 - Matej Cepl + +- Deduplicate files in python_sitelib. + ------------------------------------------------------------------- Sat Jul 16 15:56:02 UTC 2022 - Arun Persaud diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec index 1ff9779..e11921e 100644 --- a/python-setuptools-rust.spec +++ b/python-setuptools-rust.spec @@ -35,8 +35,9 @@ BuildRequires: %{python_module typing_extensions >= 3.7.4.3} BuildRequires: %{python_module wheel} # test requirements BuildRequires: %{python_module pytest} -BuildRequires: %{python_module nox} BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module nox} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-semantic_version >= 2.8.2 Requires: python-typing_extensions >= 3.7.4.3 @@ -58,11 +59,12 @@ were written in C. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %pytest tests/ - + %files %{python_files} %license LICENSE %doc README.md