## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 # Upstream tests now require docker. :( %bcond_with tests %global srcname azure-mgmt-resource-deploymentscripts %global tarball_name azure_mgmt_resource_deploymentscripts Name: python-%{srcname} Version: 1.0.0~b1 %global pypi_version 1.0.0b1 Release: %autorelease Summary: Microsoft Azure Resource Deploymentscripts Management Client Library License: MIT URL: https://pypi.org/project/%{srcname}/ Source0: %{pypi_source %{tarball_name} %{pypi_version}} BuildArch: noarch Epoch: 1 BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(pytest) BuildRequires: python3dist(python-dotenv) %endif %global _description %{expand: Microsoft Azure Resource Deploymentscripts 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 azure %check %pyproject_check_import %if %{with tests} %pytest %endif %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Oct 30 2025 John Doe - 1:1.0.0~b1-1 - Uncommitted changes ## END: Generated by rpmautospec