From 2ae40a6161dbecce70b63e20b55bba3f0dbb5e9c5e53c83492651feeeed746e0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 18 Jul 2022 07:35:58 +0000 Subject: [PATCH] - Deduplicate files in python_sitelib. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-rust?expand=0&rev=11 --- python-setuptools-rust.changes | 5 +++++ python-setuptools-rust.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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