## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 22; 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 # Enable tests everywhere except EPEL 9, where python-httpretty is not backported. %if 0%{?el9} || 0%{?centos} >= 9 %bcond_with tests %else %bcond_without tests %endif %global srcname msrestazure %global forgeurl https://github.com/Azure/msrestazure-for-python/ Version: 0.6.4 %global tag v%{version} %forgemeta Name: python-%{srcname} Release: %autorelease Summary: The runtime library "msrestazure" for AutoRest generated Python clients License: MIT URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(pytest-asyncio) BuildRequires: python3dist(httpretty) BuildRequires: python3dist(pytest) %endif %global _description %{expand: The runtime library "msrest" for AutoRest generated Python clients} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{_description} %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %if %{with tests} %check %pytest %endif %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %license LICENSE.md %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.6.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.6.4-21 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.6.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 0.6.4-17 - Rebuilt for Python 3.12 * Wed May 17 2023 Major Hayden - 0.6.4-16 - Migrated to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 0.6.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Python Maint - 0.6.4-13 - Rebuilt for Python 3.11 * Mon Apr 25 2022 Major Hayden - 0.6.4-12 - Fix missing asyncio requirement * Mon Apr 25 2022 Major Hayden - 0.6.4-11 - 🤦🏻‍♂️ Fix el9/centos9 check logic * Mon Apr 25 2022 Major Hayden - 0.6.4-10 - Ensure EPEL 9 + CentOS 9 are handled the same * Mon Apr 25 2022 Major Hayden - 0.6.4-9 - Update sources from forgesource * Mon Apr 25 2022 Major Hayden - 0.6.4-8 - Disable tests in EPEL 9 * Mon Apr 25 2022 Major Hayden - 0.6.4-7 - Update to use pyproject-rpm-macros * Fri Jan 21 2022 Fedora Release Engineering - 0.6.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.4-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 01 2020 Mohamed El Morabity - 0.6.4-1 - Update to 0.6.4 * Tue May 26 2020 Miro Hrončok - 0.6.3-2 - Rebuilt for Python 3.9 * Tue Apr 07 2020 Mohamed El Morabity - 0.6.3-1 - Update to 0.6.3 * Thu Jan 30 2020 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Sep 19 2019 Mohamed El Morabity - 0.6.2-1 - Update to 0.6.2 * Mon Aug 19 2019 Miro Hrončok - 0.6.1-3 - Rebuilt for Python 3.8 * Fri Aug 09 2019 Mohamed El Morabity - 0.6.1-2 - Update sources * Fri Aug 09 2019 Mohamed El Morabity - 0.6.1-1 - Update to 0.6.1 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 04 2019 Mohamed El Morabity - 0.6.0-2 - Fix Python 3-only file deployment * Mon Feb 04 2019 Mohamed El Morabity - 0.6.0-1 - Update to 0.6.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 13 2018 Mohamed El Morabity - 0.5.1-2 - Rebuild for python-msrest dependency fix update * Tue Nov 13 2018 Mohamed El Morabity - 0.5.1-1 - Update to 0.5.1 * Sun Aug 05 2018 Mohamed El Morabity - 0.5.0-1 - Fix version * Sun Aug 05 2018 Mohamed El Morabity - 0.6.0-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec