%global srcname azure-functions-devops-build Name: python-%{srcname} Version: 0.0.22 Release: 5%{?dist} Summary: Python package for integrating Azure Functions with Azure DevOps License: MIT URL: https://pypi.org/project/%{srcname}/ Source0: %pypi_source BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros %global _description %{expand: Python package for integrating Azure Functions with Azure DevOps} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} Obsoletes: python3-azure-sdk < 5.0.1 %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} # Fix incorrect line endings in the README. sed -i 's/\r$//' README.md %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files azure_functions_devops_build %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %license LICENSE %changelog * Wed Jun 15 2022 Python Maint - 0.0.22-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.0.22-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 08 2021 Major Hayden - 0.0.22-3 - Move obsoletes into subpackage * Fri Jul 23 2021 Fedora Release Engineering - 0.0.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 01 2021 Major Hayden - 0.0.22-1 - First package.