Tomáš Chvátal 2020-03-13 12:44:51 +00:00 committed by Git OBS Bridge
parent 2cfb30340f
commit c0e110e61d
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-pytest-django
Version: 3.8.0
Release: 0
@ -31,7 +32,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with python2}
BuildRequires: python2-pathlib2
%endif
BuildRequires: sqlite3
Requires: python-Django
Requires: python-pytest