14
0

Accepting request 616617 from home:AndreasStieger:branches:devel:languages:python

python-gnupg 0.4.3 CVE-2018-12020 boo#1096745

OBS-URL: https://build.opensuse.org/request/show/616617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=6
This commit is contained in:
Todd R
2018-06-13 19:58:37 +00:00
committed by Git OBS Bridge
parent 65f9c359ab
commit df122166b0
4 changed files with 28 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-gnupg
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,21 +20,22 @@
%define oldpython python
%bcond_with test
Name: python-python-gnupg
Version: 0.4.1
Version: 0.4.3
Release: 0
Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG)
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://pythonhosted.org/python-gnupg/index.html
URL: http://pythonhosted.org/python-gnupg/index.html
Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: gpg2
BuildArch: noarch
%if %{with test}
BuildRequires: gpg2
%endif
Requires: gpg2
%ifpython2
Obsoletes: %{oldpython}-gnupg < %{version}
Provides: %{oldpython}-gnupg = %{version}
@@ -43,8 +44,6 @@ Provides: %{oldpython}-gnupg = %{version}
Obsoletes: python3-gnupg < %{version}
Provides: python3-gnupg = %{version}
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -67,8 +66,8 @@ encryption and signature functionality from Python programs.
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%changelog