From fd87fc85530db5f624c69458b988fed67ead2e43e56149ec08413c074bea1c21 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 May 2023 08:37:22 +0000 Subject: [PATCH] Accepting request 1083897 from home:bnavigator:branches:devel:languages:python - Don't catchall filelist - Clean dependencies OBS-URL: https://build.opensuse.org/request/show/1083897 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=16 --- python-iniconfig.changes | 6 ++++++ python-iniconfig.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-iniconfig.changes b/python-iniconfig.changes index a2d2223..f8ae8fd 100644 --- a/python-iniconfig.changes +++ b/python-iniconfig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 1 19:02:20 UTC 2023 - Benjamin Greiner + +- Don't catchall filelist +- Clean dependencies + ------------------------------------------------------------------- Fri Apr 21 12:26:56 UTC 2023 - Dirk Müller diff --git a/python-iniconfig.spec b/python-iniconfig.spec index 7a648a0..44d674d 100644 --- a/python-iniconfig.spec +++ b/python-iniconfig.spec @@ -39,14 +39,12 @@ BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %if %{with test} BuildRequires: %{python_module iniconfig} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module py} %endif %python_subpackages @@ -65,11 +63,11 @@ having a unique set of features: %prep %setup -q -n iniconfig-%{version} -a1 +%if !%{with test} %build %pyproject_wheel %install -%if !%{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -83,7 +81,8 @@ having a unique set of features: %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/iniconfig +%{python_sitelib}/iniconfig-%{version}.dist-info %endif %changelog