## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name osa Name: python-%{pypi_name} Version: 0.2.3 Release: %autorelease Summary: A small python SOAP client library License: LGPLv3+ URL: https://pypi.org/project/osa Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) %description A small python library to consume SOAP services. It can process a WSDL documents and then use types and methods defined in that document. %package -n python3-%{pypi_name} Summary: %{summary} %py_provides python3-%{pypi_name} Requires: python3 %description -n python3-%{pypi_name} A small python library to consume SOAP services. It can process a WSDL documents and then use types and methods defined in that document. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf *.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} # No License, see https://github.com/baserge/osa/issues/1 %doc README %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/osa-%{version}-py?.*.egg-info %changelog * Fri Jan 20 2023 Fedora Release Engineering 0.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.3-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.3-2 - Rebuilt for Python 3.10 * Thu Jan 28 2021 David - 0.2.3-1 - Update to 0.2.3 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 06 2020 David - 0.2.1-1 - Initial package.