From 195daa6d0f81654a99435f3d01b019195356f08d Mon Sep 17 00:00:00 2001 From: Shuo Wang Date: Mon, 3 Jun 2024 11:00:19 +0800 Subject: [PATCH] enable %check Signed-off-by: Shuo Wang --- python-vine.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python-vine.spec b/python-vine.spec index 1545f43..a833b76 100644 --- a/python-vine.spec +++ b/python-vine.spec @@ -1,12 +1,15 @@ %global pypi_name vine -%bcond_with tests +%bcond_without tests + +# docs depend on package sphinx_celery +# https://github.com/celery/sphinx_celery %bcond_with docs Summary: Promises, promises, promises Name: python-%{pypi_name} Version: 5.1.0 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD URL: http://github.com/celery/vine Source0: https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{version}.tar.gz @@ -24,7 +27,7 @@ Summary: Promises, promises, promises BuildRequires: python3-devel python3-setuptools %if %{with tests} BuildRequires: python3-pytest python3-pytest-cov -BuildRequires: python3-case python3-mock +BuildRequires: python3-mock %endif %if %{with docs} BuildRequires: python3-sphinx @@ -67,6 +70,9 @@ rm -rf html/.{doctrees,buildinfo} %changelog +* Mon Jun 3 2024 Shuo Wang - 5.1.0-2 +- enable %check + * Mon Dec 11 2023 Upgrade Robot - 5.1.0-1 - Upgrade to version 5.1.0 -- Gitee