15
0
Tomáš Chvátal
2020-04-20 11:42:58 +00:00
committed by Git OBS Bridge
parent 7385c3914b
commit 22e8ab8baa
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 11:42:47 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Apr 16 11:38:33 UTC 2020 - pgajdos@suse.com

View File

@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-json_tricks
Version: 3.15.2
Release: 0
@@ -39,7 +40,9 @@ BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pathlib}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
%if %{with python2}
BuildRequires: python-enum34
%endif
# /SECTION
%ifpython2
Recommends: python-enum34