## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 %global sname blazarclient %global _description %{expand: This is a client for the OpenStack Blazar API. It provides a Python API (the blazarclient module) and a command-line script (blazar).} Name: python-%{sname} Version: 4.6.0 Release: %autorelease Summary: Python API and CLI for the Blazer Client License: Apache-2.0 URL: https://launchpad.net/blazar Source0: %{pypi_source python_%{sname}} BuildArch: noarch %description %{_description} %package -n python3-%{sname} Summary: %{summary} %description -n python3-%{sname} %{_description} %prep %autosetup -n python_%{sname}-%{version} # Ignore global online constraints file sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini # Drop dependencies for lint, coverage, ... %pyproject_patch_dependency reno:ignore %pyproject_patch_dependency hacking:ignore %pyproject_patch_dependency coverage:ignore %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{sname} %check %tox %files -n python3-%{sname} -f %{pyproject_files} %doc ChangeLog README.rst %{_bindir}/blazar %changelog ## START: Generated by rpmautospec * Thu Aug 27 2026 Steve Traylen - 4.6.0-1 - Update to v4.6.0 * Fri Aug 21 2026 Steve Traylen - 4.5.0-1 - First Fedora release rhbz#2520259 ## END: Generated by rpmautospec