From cd80d229ba358b65c3a9e0072a8c6909c10b597e29a1b7e8e822bb4968901e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 16 May 2018 12:26:47 +0000 Subject: [PATCH] - Provide/obsolete also python-crypto for py2 package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=10 --- python-pycryptodome.changes | 5 +++++ python-pycryptodome.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index 08671e7..47d113e 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 16 12:26:23 UTC 2018 - tchvatal@suse.com + +- Provide/obsolete also python-crypto for py2 package + ------------------------------------------------------------------- Mon May 7 20:17:35 UTC 2018 - hpj@urpla.net diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index db1f68f..2cb3540 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test +%define oldpython python Name: python-pycryptodome Version: 3.6.1 Release: 0 @@ -32,6 +33,10 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Provides: python-pycrypto = %{version} Obsoletes: python-pycrypto < %{version} +%ifpython2 +Provides: %{oldpython}-pycrypto = %{version} +Obsoletes: %{oldpython}-pycrypto < %{version} +%endif %python_subpackages