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