## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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 pypi_name vine # Enable tests by default %bcond_without tests # docs depend on package sphinx_celery # https://github.com/celery/sphinx_celery %bcond_with docs Name: python-%{pypi_name} Version: 5.1.0 Release: %autorelease Summary: Promises, promises, promises # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: http://github.com/celery/vine Source0: https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %if %{with docs} BuildRequires: python3-sphinx %endif %description %{summary} %package -n python3-%{pypi_name} Summary: Promises, promises, promises BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-pytest-cov %endif %description -n python3-%{pypi_name} %{summary} %if %{with docs} %package -n python-%{pypi_name}-doc Summary: vine documentation %description -n python-%{pypi_name}-doc Documentation for vine %endif %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info # Compatibility with pytest 8 # https://github.com/celery/vine/commit/cf9b3979173ff22a4a410c4da6cfdad878eced8c sed -i "/def setup(self)/s/setup/setup_method/" t/unit/test_synchronization.py %build %py3_build # docs depend on sphinx-celery %if %{with docs} # generate html docs sphinx-build docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %endif %install %py3_install %if %{with tests} %check %pytest -xv --cov=vine --cov-report=xml --no-cov-on-fail %endif %files -n python3-%{pypi_name} %license LICENSE %doc docs/templates/readme.txt README.rst %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %if %{with docs} %files -n python-%{pypi_name}-doc %doc html %endif %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 5.1.0-9 - convert license to SPDX * Sun Aug 18 2024 Benjamin A. Beasley - 5.1.0-8 - Remove obsolete BR on orphaned/unmaintained python3-case * Fri Jul 19 2024 Fedora Release Engineering - 5.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 5.1.0-6 - Rebuilt for Python 3.13 * Thu Apr 11 2024 Lumir Balhar - 5.1.0-5 - Fix compatibility with pytest 8 * Tue Feb 27 2024 Michel Lind - 5.1.0-4 - Remove unnecessary and deprecated python3-mock BR * Fri Jan 26 2024 Fedora Release Engineering - 5.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 5.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 04 2023 František Zatloukal - 5.1.0-1 - python-vine 5.1.0 (Fixes RHBZ#2248068) * Fri Jul 21 2023 Fedora Release Engineering - 5.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 5.0.0-10 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 5.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 5.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 5.0.0-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 5.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 5.0.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 5.0.0-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 5.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Sep 30 2020 Frantisek Zatloukal - 5.0.0-2 - Enable tests * Tue Sep 29 2020 Frantisek Zatloukal - 5.0.0-1 - python-vine 5.0.0 * Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 25 2020 Miro Hrončok - 1.3.0-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.3.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.3.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 02 2019 Nils Philippsen - 1.3.0-1 - Update to 1.3.0 * Fri Jun 28 2019 Miro Hrončok - 1.2.0-3 - Subpackage python2-vine has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jan 26 2019 Neal Gompa - 1.2.0-1 - Update to 1.2.0 - Switch to using bconds for controlling build behaviors * Sat Jul 14 2018 Fedora Release Engineering - 1.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 09 2018 Matthias Runge - 1.1.4-1 - update to 1.1.4 (rhbz#1471577) * Tue Jun 19 2018 Miro Hrončok - 1.1.3-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Iryna Shcherbina - 1.1.3-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jul 27 2017 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Dec 27 2016 Matthias Runge - 1.1.3-1 - Initial package. (rhbz#1408869) ## END: Generated by rpmautospec