From 4b5ab81a4dab7118d0ecc8e5157660e1c02d68c13da778d0991875b13658c124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Jan 2020 10:36:17 +0000 Subject: [PATCH] - 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 --- python-six.changes | 5 +++++ python-six.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-six.changes b/python-six.changes index 76a8843..c808f50 100644 --- a/python-six.changes +++ b/python-six.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 2 10:36:00 UTC 2020 - Tomáš Chvátal + +- Pull in dbm/gdbm module from python for testing + ------------------------------------------------------------------- Fri Dec 20 19:06:13 UTC 2019 - Dirk Mueller diff --git a/python-six.spec b/python-six.spec index 737a3cc..493f50c 100644 --- a/python-six.spec +++ b/python-six.spec @@ -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