From 42d2f1ff5faf82b166fe52bb7c8d4a51b3c14b257f04f67c576db1d0540f713f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 10 May 2023 08:42:34 +0000 Subject: [PATCH] - Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiounittest?expand=0&rev=6 --- python-aiounittest.changes | 5 +++++ python-aiounittest.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-aiounittest.changes b/python-aiounittest.changes index 5deea57..015ce90 100644 --- a/python-aiounittest.changes +++ b/python-aiounittest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 10 08:42:16 UTC 2023 - Matej Cepl + +- Clean up SPEC file + ------------------------------------------------------------------- Thu Aug 4 08:27:19 UTC 2022 - Otto Hollmann diff --git a/python-aiounittest.spec b/python-aiounittest.spec index 79a718c..aee0ae1 100644 --- a/python-aiounittest.spec +++ b/python-aiounittest.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiounittest # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2019 Matthias Fehring # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-aiounittest Version: 1.4.2 @@ -30,6 +29,7 @@ Source: https://github.com/kwarunek/aiounittest/archive/%{version}.tar.g BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wrapt} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-wrapt BuildArch: noarch @@ -51,6 +51,7 @@ test of the asynchronous code (asyncio). You can test: %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest @@ -59,6 +60,6 @@ test of the asynchronous code (asyncio). You can test: %doc README.rst %license LICENSE %{python_sitelib}/aiounittest-%{version}-*.egg-info/ -%{python_sitelib}/aiounittest/ +%{python_sitelib}/aiounittest %changelog