forked from pool/python-python-gnupg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=2
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
Name: python-python-gnupg
|
Name: python-python-gnupg
|
||||||
Version: 0.4.1
|
Version: 0.4.1
|
||||||
@@ -34,6 +35,14 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: gpg2
|
BuildRequires: gpg2
|
||||||
%endif
|
%endif
|
||||||
Requires: gpg2
|
Requires: gpg2
|
||||||
|
%ifpython2
|
||||||
|
Obsoletes: %{oldpython}-gnupg < %{version}
|
||||||
|
Provides: %{oldpython}-gnupg = %{version}
|
||||||
|
%endif
|
||||||
|
%ifpython3
|
||||||
|
Obsoletes: python3-gnupg < %{version}
|
||||||
|
Provides: python3-gnupg = %{version}
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Reference in New Issue
Block a user