From 02b0bae6fd45a3f7737c5a47e6458eb2077ab2a57c8c93a3ce14128e282432db Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 May 2023 20:42:39 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shortuuid?expand=0&rev=13 --- python-shortuuid.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python-shortuuid.spec b/python-shortuuid.spec index 7c7f55a..9dae209 100644 --- a/python-shortuuid.spec +++ b/python-shortuuid.spec @@ -50,12 +50,10 @@ similar-looking letters and numbers. %install %python_install %python_clone -a %{buildroot}%{_bindir}/shortuuid -%{python_expand rm %{buildroot}%{$python_sitelib}/shortuuid/tests.py -%fdupes %{buildroot}%{$python_sitelib} -} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest shortuuid/tests.py +%pytest %post %python_install_alternative shortuuid