From 0d07048924003968c047b13e84252de59e8785909deb76b5a77174b566c6dd6a 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:35:17 +0000 Subject: [PATCH] - Add provides in gdbm subpackage to provide dbm symbols. This allows us to use %%{python_module dbm} as a dependency and have it properly resolved for both python2 and python3 - Add provides in gdbm subpackage to provide dbm symbols. This allows us to use %%{python_module dbm} as a dependency and have it properly resolved for both python2 and python3 - Add provides in gdbm subpackage to provide dbm symbols. This allows us to use %%{python_module dbm} as a dependency and have it properly resolved for both python2 and python3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=266 --- python-base.changes | 7 +++++++ python-base.spec | 2 +- python-doc.changes | 7 +++++++ python-doc.spec | 2 +- python.changes | 7 +++++++ python.spec | 6 +++++- 6 files changed, 28 insertions(+), 3 deletions(-) diff --git a/python-base.changes b/python-base.changes index ad4d6c5..747d3d6 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jan 2 10:34:17 UTC 2020 - Tomáš Chvátal + +- Add provides in gdbm subpackage to provide dbm symbols. This + allows us to use %%{python_module dbm} as a dependency and have + it properly resolved for both python2 and python3 + ------------------------------------------------------------------- Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger diff --git a/python-base.spec b/python-base.spec index a528762..1b2f994 100644 --- a/python-base.spec +++ b/python-base.spec @@ -1,7 +1,7 @@ # # spec file for package python-base # -# 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 diff --git a/python-doc.changes b/python-doc.changes index ad4d6c5..747d3d6 100644 --- a/python-doc.changes +++ b/python-doc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jan 2 10:34:17 UTC 2020 - Tomáš Chvátal + +- Add provides in gdbm subpackage to provide dbm symbols. This + allows us to use %%{python_module dbm} as a dependency and have + it properly resolved for both python2 and python3 + ------------------------------------------------------------------- Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger diff --git a/python-doc.spec b/python-doc.spec index 7df2e7d..f36c402 100644 --- a/python-doc.spec +++ b/python-doc.spec @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# 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 diff --git a/python.changes b/python.changes index ad4d6c5..747d3d6 100644 --- a/python.changes +++ b/python.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jan 2 10:34:17 UTC 2020 - Tomáš Chvátal + +- Add provides in gdbm subpackage to provide dbm symbols. This + allows us to use %%{python_module dbm} as a dependency and have + it properly resolved for both python2 and python3 + ------------------------------------------------------------------- Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger diff --git a/python.spec b/python.spec index 9c894c8..849c0eb 100644 --- a/python.spec +++ b/python.spec @@ -1,7 +1,7 @@ # # spec file for package python # -# 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 @@ -200,6 +200,10 @@ Requires: python-base = %{version} Obsoletes: pygdmod Provides: pygdmod Provides: python2-gdbm = %{version} +# Compat to allow BR on python_module dbm and have it properly +# pull in gdbm on py2 and dbm on py3 +Provides: python-dbm = %{version} +Provides: python2-dbm = %{version} %description gdbm An easy to use interface for GDBM databases. GDBM is the GNU