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