forked from pool/python-python-gnupg
- Enable tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
51e9d0ba83
commit
937a5d9c67
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 24 10:07:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 24 09:31:19 UTC 2019 - Karol Babioch <kbabioch@suse.de>
|
Thu Jan 24 09:31:19 UTC 2019 - Karol Babioch <kbabioch@suse.de>
|
||||||
|
|
||||||
|
@@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%bcond_with test
|
|
||||||
Name: python-python-gnupg
|
Name: python-python-gnupg
|
||||||
Version: 0.4.4
|
Version: 0.4.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -29,20 +28,16 @@ URL: http://pythonhosted.org/python-gnupg/index.html
|
|||||||
Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gpg2
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: gpg2
|
Requires: gpg2
|
||||||
|
Obsoletes: python-gnupg < %{version}
|
||||||
|
Provides: python-gnupg = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: gpg2
|
|
||||||
%endif
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Obsoletes: %{oldpython}-gnupg < %{version}
|
Obsoletes: %{oldpython}-gnupg < %{version}
|
||||||
Provides: %{oldpython}-gnupg = %{version}
|
Provides: %{oldpython}-gnupg = %{version}
|
||||||
%endif
|
%endif
|
||||||
%ifpython3
|
|
||||||
Obsoletes: python3-gnupg < %{version}
|
|
||||||
Provides: python3-gnupg = %{version}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -59,10 +54,9 @@ encryption and signature functionality from Python programs.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
|
export NO_EXTERNAL_TESTS=true
|
||||||
%python_exec test_gnupg.py
|
%python_exec test_gnupg.py
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Reference in New Issue
Block a user