From: Jakub Bogusz Date: Sun, 18 Sep 2022 17:04:40 +0000 (+0200) Subject: - made peace with django when running tests; release 2 X-Git-Tag: auto/th/python-semantic_version-2.10.0-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=680e70bfbc05d0b3bd0f451fba400f584a93f14d;p=packages%2Fpython-semantic_version.git - made peace with django when running tests; release 2 --- diff --git a/python-semantic_version.spec b/python-semantic_version.spec index e8fbb12..15e57be 100644 --- a/python-semantic_version.spec +++ b/python-semantic_version.spec @@ -11,7 +11,7 @@ Summary: A library implementing the 'SemVer' scheme Summary(pl.UTF-8): Biblioteka implementująca schemat "SemVer" Name: python-%{module} Version: 2.10.0 -Release: 1 +Release: 2 License: BSD Group: Libraries/Python #Source0Download: https://pypi.org/simple/semantic-version/ @@ -22,6 +22,7 @@ URL: https://pypi.org/project/semantic-version/ BuildRequires: python-modules >= 1:2.7 BuildRequires: python-setuptools %if %{with nose} +BuildRequires: python-django >= 1.11 BuildRequires: python-nose %endif %endif @@ -29,6 +30,7 @@ BuildRequires: python-nose BuildRequires: python3-modules >= 1:3.4 BuildRequires: python3-setuptools %if %{with nose} +BuildRequires: python3-django >= 2.2 BuildRequires: python3-nose %endif %endif @@ -84,7 +86,7 @@ Dokumentacja API modułu Pythona semantic_version. %if %{with tests} PYTHONPATH=$(pwd) \ -nosetests-%{py_ver} tests +nosetests-%{py_ver} tests/test_*.py %endif %endif @@ -93,7 +95,7 @@ nosetests-%{py_ver} tests %if %{with tests} PYTHONPATH=$(pwd) \ -nosetests-%{py3_ver} tests +nosetests-%{py3_ver} tests/test_*.py %endif %endif