forked from pool/python-pycryptodome
- 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:
committed by
Git OBS Bridge
parent
63fda4188c
commit
cd80d229ba
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user