## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 srcname azure-mgmt-postgresqlflexibleservers %global tarball_name azure_mgmt_postgresqlflexibleservers Name: python-%{srcname} Version: 1.1.0~b1 %global pypi_version 1.1.0b1 Release: %autorelease Summary: The Microsoft Azure Postgresqlflexibleservers Management Client Library License: MIT URL: https://pypi.org/project/%{srcname}/ Source0: %{pypi_source %{tarball_name} %{pypi_version}} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This is the Microsoft Azure Postgresqlflexibleservers Management Client Library.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{tarball_name}-%{pypi_version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l azure %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog ## START: Generated by rpmautospec * Sat Jan 18 2025 Fedora Release Engineering - 1.1.0~b1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Jan 13 2025 Jeremy Cline - 1.1.0~b1-2 - Apply suggested changes from package review - Add -l to the %%pyproject_save_files macro to enforce the license is installed - Drop the note about Python 3.8 from the description * Mon Jan 13 2025 Jeremy Cline - 1.1.0~b1-1 - Initial import (bz #2328743) ## END: Generated by rpmautospec