SHA256
1
0
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:
Tomáš Chvátal 2020-01-02 10:36:17 +00:00 committed by Git OBS Bridge
parent 2d9eb82f7c
commit 4b5ab81a4d
2 changed files with 8 additions and 3 deletions

View File

@ -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> Fri Dec 20 19:06:13 UTC 2019 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-six # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -40,6 +40,7 @@ BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
Name: python-six%{psuffix} Name: python-six%{psuffix}
%if %{with test} %if %{with test}
BuildRequires: %{python_module dbm}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py} BuildRequires: %{python_module py}
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
@ -70,9 +71,8 @@ This package provides documentation for %{name}.
%setup -q -n six-%{version} %setup -q -n six-%{version}
%build %build
%if ! %{with test}
%python_build %python_build
%else %if %{with test}
cd documentation && make html && rm _build/html/.buildinfo cd documentation && make html && rm _build/html/.buildinfo
%endif %endif