14
0
Todd R
2017-09-06 17:48:58 +00:00
committed by Git OBS Bridge
parent 34cdf51889
commit 2e7aed09c7

View File

@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%bcond_with test
Name: python-python-gnupg
Version: 0.4.1
@@ -34,6 +35,14 @@ BuildRequires: python-rpm-macros
BuildRequires: gpg2
%endif
Requires: gpg2
%ifpython2
Obsoletes: %{oldpython}-gnupg < %{version}
Provides: %{oldpython}-gnupg = %{version}
%endif
%ifpython3
Obsoletes: python3-gnupg < %{version}
Provides: python3-gnupg = %{version}
%endif
BuildArch: noarch
%python_subpackages