From b5334952767fdd9b9b0c0ccfd2c2bcef2b9c9698baaa462461ba7fa1bddd261c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Dec 2021 07:59:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semantic_version?expand=0&rev=16 --- python-semantic_version.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-semantic_version.spec b/python-semantic_version.spec index 97189fc..9aa9a31 100644 --- a/python-semantic_version.spec +++ b/python-semantic_version.spec @@ -33,14 +33,14 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/rbarrois/python-semanticversion Source: https://files.pythonhosted.org/packages/source/s/semantic_version/semantic_version-%{version}.tar.gz -%if %{with test} -BuildRequires: %{python_module Django >= 1.11} -BuildRequires: %{python_module pytest} -%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module Django >= 1.11} +BuildRequires: %{python_module pytest} +%endif %python_subpackages %description