From e7e1baec34ca2dccc72cdde76b3a76a05e3da61b9dd73d21a971111ad77e88f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 7 Jan 2020 11:40:57 +0000 Subject: [PATCH] - Use python dbm dependency instead of legacy gdbm OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proselint?expand=0&rev=13 --- python-proselint.changes | 5 +++++ python-proselint.spec | 15 ++++----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/python-proselint.changes b/python-proselint.changes index 6bab2be..5cfabe8 100644 --- a/python-proselint.changes +++ b/python-proselint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 11:37:57 UTC 2020 - Tomáš Chvátal + +- Use python dbm dependency instead of legacy gdbm + ------------------------------------------------------------------- Fri Mar 8 07:30:20 UTC 2019 - John Vandenberg diff --git a/python-proselint.spec b/python-proselint.spec index 45da441..028e6a2 100644 --- a/python-proselint.spec +++ b/python-proselint.spec @@ -1,7 +1,7 @@ # # spec file for package python-proselint # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -22,8 +22,7 @@ Version: 0.10.2 Release: 0 Summary: A linter for prose License: BSD-3-Clause -Group: Development/Languages/Python -URL: http://github.com/amperser/proselint +URL: https://github.com/amperser/proselint Source: https://files.pythonhosted.org/packages/source/p/proselint/proselint-%{version}.tar.gz # test_weasel_words_misc is empty in this release, and `setup.py test` doesnt recognise nose's SkipTest Patch0: disable-empty-test.patch @@ -32,24 +31,18 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click +Requires: python-dbm Requires: python-future Requires: python-six BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click} +BuildRequires: %{python_module dbm} BuildRequires: %{python_module future} BuildRequires: %{python_module nose} BuildRequires: %{python_module six} -BuildRequires: python2-gdbm BuildRequires: python2-mock -BuildRequires: python3-dbm # /SECTION -%ifpython3 -Requires: python3-dbm -%endif -%ifpython2 -Recommends: python-gdbm -%endif %python_subpackages %description