Accepting request 784632 from devel:languages:python:django
- Fix build without python2 OBS-URL: https://build.opensuse.org/request/show/784632 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=11
This commit is contained in:
commit
71b3c781c2
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 13 12:43:21 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 23 08:49:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Jan 23 08:49:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-pytest-django
|
Name: python-pytest-django
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -31,7 +32,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python2-pathlib2
|
BuildRequires: python2-pathlib2
|
||||||
|
%endif
|
||||||
BuildRequires: sqlite3
|
BuildRequires: sqlite3
|
||||||
Requires: python-Django
|
Requires: python-Django
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user