forked from pool/python-json_tricks
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json_tricks?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
7385c3914b
commit
22e8ab8baa
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user