- 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
This commit is contained in:
Tomáš Chvátal
2018-05-16 12:26:47 +00:00
committed by Git OBS Bridge
parent 63fda4188c
commit cd80d229ba
2 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -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