Migrate pyproject_macros

This commit is contained in:
Steve Traylen 2022-02-16 14:28:49 +00:00
parent 6e3722539f
commit c22a6b58ec

View File

@ -3,14 +3,14 @@
Summary: A python SOAP client
Name: python-suds
Version: 1.0.0
Release: 2%{?dist}
Release: 3%{?dist}
Source0: https://github.com/suds-community/suds/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
License: LGPLv3+
BuildArch: noarch
URL: https://github.com/suds-community/suds
BuildRequires: python3-devel
BuildRequires: %{py3_dist pytest setuptools six}
BuildRequires: %{py3_dist pytest six}
%global _description %{expand:
The suds project is a python soap web services client lib. Suds leverages
@ -30,20 +30,25 @@ Summary: %{summary}
%autosetup -p1 -n %{srcname}-%{version}
%build
%py3_build
%pyproject_wheel
%generate_buildrequires
%pyproject_buildrequires
%install
%py3_install
%pyproject_install
%pyproject_save_files suds
%check
%pytest
%files -n python3-%{srcname}
%{python3_sitelib}/%{srcname}*/
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.md
%license LICENSE.txt
%changelog
* Wed Feb 16 2022 Steve Traylen <steve.traylen@cern.ch> - 1.0.0-3
- Migrate pyproject_macros
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild