## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 # Created by pyp2rpm-3.3.0 %global pypi_name gitlab Name: python-%{pypi_name} Version: 4.10.0 Release: %autorelease Summary: Interact with GitLab API # Automatically converted from old format: LGPLv3 - review is highly recommended. License: LGPL-3.0-only URL: https://github.com/python-gitlab/python-gitlab Source0: %{pypi_source python_gitlab} BuildArch: noarch BuildRequires: python3-devel # drop the -doc package. To much effort to keep working Provides: python-%{pypi_name}-doc = %{version}-%{release} Obsoletes: python-%{pypi_name}-doc <= 3.3.0 %description Interact with GitLab API %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} Interact with GitLab API %package -n python-%{pypi_name}-doc Summary: Python gitlab documentation %description -n python-%{pypi_name}-doc Documentation for gitlab %prep %autosetup -p1 -n python_%{pypi_name}-%{version} # Relax some dependencies sed -i 's/requests==.*/requests/' requirements.txt sed -i 's/requests-toolbelt==.*/requests-toolbelt/' requirements.txt sed -i 's/pytest==.*/pytest/' requirements-lint.txt requirements-test.txt sed -i 's/PyYaml==.*/PyYaml/' requirements-lint.txt requirements-test.txt sed -i 's/responses==.*/responses/' requirements-lint.txt requirements-test.txt sed -i 's/wheel==.*/wheel/' requirements-test.txt sed -i 's/coverage==.*/coverage/' requirements-test.txt sed -i 's/setuptools==.*/setuptools/' requirements-test.txt sed -i 's/pytest-cov==.*/pytest-cov/' requirements-test.txt sed -i 's/build==.*/build/' requirements-test.txt # not available in rawhide 11 Aug 2022 sed -i 's/pytest-console-scripts.*//' requirements-test.txt sed -i 's/pytest-github-actions-annotate-failures.*//' requirements-test.txt %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files gitlab %check %tox %files -n python3-%{pypi_name} -f %{pyproject_files} %{_bindir}/gitlab %doc README.rst %changelog ## START: Generated by rpmautospec * Sat Sep 07 2024 Steve Traylen - 4.10.0-1 - Update to 4.10.0 - rhbz#2295556 * Fri Jul 26 2024 Miroslav Suchý - 4.6.0-3 - convert LGPLv3 license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 4.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 22 2024 Steve Traylen - 4.6.0-1 - Upstream 4.6.0 rhbz#2283571 * Sat Jun 08 2024 Python Maint - 4.4.0-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 15 2024 Steve Traylen - 4.4.0-1 - Update to 4.4.0 rhbz#2256040 * Mon Dec 11 2023 Steve Traylen - 4.2.0-1 - Update to 4.2.0 * Tue Sep 26 2023 Steve Traylen - 3.15.0-1 - New 3.15.0 version * Fri Jul 21 2023 Fedora Release Engineering - 3.14.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 3.14.0-3 - Rebuilt for Python 3.12 * Mon May 15 2023 Steve Traylen - 3.14.0-2 - Rebuild for new python-requests-toolbelt (rhbz#2203755) * Thu Apr 13 2023 Steve Traylen - 3.14.0-1 - New 3.14.0 version * Thu Mar 2 2023 Steve Traylen - 3.13.0-1 - New 3.13.0 version * Fri Jan 20 2023 Fedora Release Engineering - 3.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jan 6 2023 Steve Traylen - 3.12.0-1 - New 3.12.0 version * Sun Aug 28 2022 Steve Traylen - 3.9.0-1 - New 3.9.0 version * Sun Aug 28 2022 Steve Traylen - 3.8.1-3 - Relax exact dependencies for requests and pytest * Thu Aug 18 2022 Nikola Forró - 3.8.1-3 - Re-enable tox tests * Thu Aug 18 2022 Nikola Forró - 3.8.1-2 - Do not try to remove shebangs from cli.py scripts, they are no longer there * Thu Aug 11 2022 Steve Traylen - 3.8.1-1 - New 3.8.1 version - Migrate to pyproject macros - Drop -doc package * Fri Jul 22 2022 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 3.3.0-2 - Rebuilt for Python 3.11 * Thu Apr 14 2022 Steve Traylen - 3.3.0-1 - New 3.3.0 version * Mon Jan 31 2022 Steve Traylen - 3.1.1-1 - New 3.1.1 version, Use default sphinx theme rather than furo. * Fri Jan 21 2022 Fedora Release Engineering - 2.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 9 2021 Steve Traylen - 2.10.1-1 - New 2.10.1 version * Fri Jul 23 2021 Fedora Release Engineering - 2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.7.1-2 - Rebuilt for Python 3.10 * Mon May 24 2021 Stephen Gallagher - 2.7.1-1 - New 2.7.1 version - Adds support for setting merge request approval rules * Mon Mar 8 2021 Steve Traylen - 2.6.0-1 - New 2.6.0 version * Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 21 2020 Steve Traylen - 2.4.0-1 - New 2.4.0 version * Wed Jul 29 2020 Fedora Release Engineering - 1.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.15.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Dec 17 2019 Steve Traylen - 1.15.0-1 - New 1.15.0 version * Mon Dec 16 2019 Steve Traylen - 1.14.0-1 - New 1.14.0 version * Wed Nov 13 2019 Steve Traylen - 1.13.0-1 - New 1.13.0 version * Thu Oct 03 2019 Miro Hrončok - 1.7.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.7.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 09 2019 Neal Gompa - 1.7.0-1 - Update to 1.7.0 - Drop redundant runtime dependencies specified for auto-generated ones * Sat Feb 02 2019 Fedora Release Engineering - 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 31 2018 Miro Hrončok - 1.3.0-6 - Subpackage python2-gitlab has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Tue Jun 19 2018 Miro Hrončok - 1.3.0-5 - Rebuilt for Python 3.7 * Tue Jun 19 2018 Miro Hrončok - 1.3.0-4 - Rebuilt for Python 3.7 * Wed May 16 2018 Steve Traylen - 1.3.0-3 - Correct copy paste error. * Wed May 16 2018 Steve Traylen - 1.3.0-2 - Specify COPYING file. Add BR on python-mock. * Fri May 11 2018 Steve Traylen - 1.3.0-1 - Initial package. ## END: Generated by rpmautospec