Modernize Python packaging
This commit is contained in:
parent
800fb08fbc
commit
c2645d5991
@ -14,8 +14,6 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: %{py3_dist pexpect}
|
||||
BuildRequires: %{py3_dist pytest} >= 3.6.0
|
||||
BuildRequires: %{py3_dist setuptools}
|
||||
|
||||
%global _description %{expand:
|
||||
This is a plugin which will terminate tests after a certain timeout. When doing
|
||||
@ -34,11 +32,14 @@ Summary: %{summary}
|
||||
%prep
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
%check
|
||||
%pytest
|
||||
@ -53,6 +54,7 @@ Summary: %{summary}
|
||||
%changelog
|
||||
* Mon Oct 09 2023 Scott Talbert <swt@techie.net> - 2.2.0-1
|
||||
- Update to new upstream release 2.2.0 (#2242718)
|
||||
- Modernize Python packaging
|
||||
|
||||
* Tue Aug 08 2023 Karolina Surma <ksurma@redhat.com> - 2.1.0-7
|
||||
- Declare license as an SPDX expression
|
||||
|
Loading…
Reference in New Issue
Block a user