## 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 sources_gpg 1 %global sources_gpg_sign 0x30566c450e41d7c91e442dfb231f942f608ddeff %global sname magnumclient %global with_doc 1 %global _description %{expand: This is the client library for Magnum built on the Magnum API. It provides a Python API ( the mangumclient module ) and a command line tool (magnum).} Name: python-%{sname} Version: 4.11.0 Release: %autorelease Summary: Python API and CLI for the Magnum Client License: Apache-2.0 URL: https://launchpad.net/%{name} Source0: https://tarballs.openstack.org/%{name}/python_%{sname}-%{version}.tar.gz # Required for tarball sources verification %if 0%{?sources_gpg} == 1 Source101: https://tarballs.openstack.org/%{name}/python_%{sname}-%{version}.tar.gz.asc Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt %endif BuildArch: noarch # Required for tarball sources verification %if 0%{?sources_gpg} == 1 BuildRequires: /usr/bin/gpgv2 %endif BuildRequires: git-core BuildRequires: python3-devel %description %{_description} %package -n python3-%{sname} Summary: %{summary} %description -n python3-%{sname} %{_description} %if 0%{?with_doc} %package doc Summary: Documentation for OpenStack Magnum API Client %description doc %{_description} This package contains auto-generated documentation. %endif %prep %if 0%{?sources_gpg} == 1 %{gpgverify} --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0} %endif %autosetup -n python_%{sname}-%{version} -S git # 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 %pyproject_patch_dependency bandit:ignore %pyproject_patch_dependency osprofiler:ignore %generate_buildrequires %if 0%{?with_doc} %pyproject_buildrequires -t -e %{default_toxenv},docs %else %pyproject_buildrequires -t -e %{default_toxenv} %endif %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{sname} %if 0%{?with_doc} %tox -e docs # Fix hidden-file-or-dir warnings rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo doc/build/html/.htaccess %endif %check %tox -e %{default_toxenv} %files -n python3-%{sname} -f %{pyproject_files} %doc ChangeLog README.rst %{_bindir}/magnum %if 0%{?with_doc} %files doc %doc doc/build/html %license LICENSE %endif %changelog ## START: Generated by rpmautospec * Mon Aug 10 2026 Steve Traylen - 4.11.0-1 - Update to v4.11.0 - Resolves: rhbz#2511009 - Package unretired in Fedora * Sat Jan 18 2025 Fedora Release Engineering - 4.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Oct 07 2024 Joel Capitao 4.7.0-1 - Update to upstream version 4.7.0 * Fri Jul 19 2024 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jul 13 2024 Python Maint - 4.4.0-2 - Rebuilt for Python 3.13 * Mon May 06 2024 Alfredo Moralejo 4.4.0-1 - Update to upstream version 4.4.0 * Fri Jan 26 2024 Fedora Release Engineering - 4.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Oct 26 2023 Alfredo Moralejo 4.2.0-1 - Update to upstream version 4.2.0 * Fri Jul 21 2023 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 14 2023 Karolina Kula 4.1.0-1 - Update to upstream version 4.1.0 * Fri Jan 20 2023 Fedora Release Engineering - 4.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Nov 17 2022 Alfredo Moralejo 4.0.0-1 - Update to upstream version 4.0.0 * Fri Jul 22 2022 Fedora Release Engineering - 3.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 21 2022 Python Maint - 3.6.0-2 - Rebuilt for Python 3.11 * Thu May 19 2022 Joel Capitao 3.6.0-1 - Update to upstream version 3.6.0 * Fri Jan 21 2022 Fedora Release Engineering - 3.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.4.0-2 - Rebuilt for Python 3.10 * Mon Mar 22 2021 Joel Capitao 3.4.0-1 - Update to upstream version 3.4.0 * Wed Jan 27 2021 Fedora Release Engineering - 3.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 28 2020 Alfredo Moralejo 3.2.1-2 - Update to upstream version 3.2.1 * Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 09 2020 Joel Capitao 3.0.0-1 - Update to upstream version 3.0.0 * Tue May 26 2020 Miro Hrončok - 2.15.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 07 2019 Alfredo Moralejo 2.15.0-1 - Update to upstream version 2.15.0 * Thu Oct 03 2019 Miro Hrončok - 2.12.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 2.12.0-4 - Rebuilt for Python 3.8 * Mon Jul 29 2019 Alfredo Moralejo - 2.12.0-3 - Removed osprofiler as BR. * Fri Jul 26 2019 Fedora Release Engineering - 2.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 11 2019 RDO 2.12.0-1 - Update to 2.12.0 ## END: Generated by rpmautospec