Accepting request 1083967 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1083967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-iniconfig?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-05-03 10:56:17 +00:00 committed by Git OBS Bridge
commit c4fcd17fd4
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 1 19:02:20 UTC 2023 - Benjamin Greiner <code@bnavigator.de>
- Don't catchall filelist
- Clean dependencies
-------------------------------------------------------------------
Fri Apr 21 12:26:56 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -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