forked from pool/python-six
- Pull in dbm/gdbm module from python for testing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=72
This commit is contained in:
parent
2d9eb82f7c
commit
4b5ab81a4d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 2 10:36:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Pull in dbm/gdbm module from python for testing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 19:06:13 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-six
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -40,6 +40,7 @@ BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Name: python-six%{psuffix}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module dbm}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module py}
|
||||
BuildRequires: python3-Sphinx
|
||||
@ -70,9 +71,8 @@ This package provides documentation for %{name}.
|
||||
%setup -q -n six-%{version}
|
||||
|
||||
%build
|
||||
%if ! %{with test}
|
||||
%python_build
|
||||
%else
|
||||
%if %{with test}
|
||||
cd documentation && make html && rm _build/html/.buildinfo
|
||||
%endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user