14
0
forked from pool/python-dill

- restore installation of dbm module on SLE15 and older

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=24
This commit is contained in:
2023-02-16 23:14:00 +00:00
committed by Git OBS Bridge
parent a5fc18d8f6
commit cca916dcc4
2 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 16 23:13:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
- restore installation of dbm module on SLE15 and older
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 21 06:58:20 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com> Mon Nov 21 06:58:20 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-dill # spec file for package python-dill
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 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
@@ -16,6 +16,7 @@
# #
%global skip_python2 1
Name: python-dill Name: python-dill
Version: 0.3.6 Version: 0.3.6
Release: 0 Release: 0
@@ -24,16 +25,12 @@ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/uqfoundation/dill URL: https://github.com/uqfoundation/dill
Source: https://github.com/uqfoundation/dill/archive/dill-%{version}.tar.gz#/dill-%{version}.tar.gz Source: https://github.com/uqfoundation/dill/archive/dill-%{version}.tar.gz#/dill-%{version}.tar.gz
BuildRequires: %{python_module dbm}
BuildRequires: %{python_module objgraph >= 1.7.2} BuildRequires: %{python_module objgraph >= 1.7.2}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
%if 0%{?suse_version} >= 1550
BuildRequires: %{python_module dbm}
%else
BuildRequires: python3-dbm
%endif
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
Recommends: python-objgraph >= 1.7.2 Recommends: python-objgraph >= 1.7.2