14
0
forked from pool/python-dkimpy

Accepting request 791121 from home:mcalabkova:branches:devel:languages:python

- update to 1.0.3
  * dknewkey: On posix operating systems set file permissions to 600 for
    ed25519 private key files (as is already done for RSA) (LP: #1857827)
  * Set minimum dnspython version to 1.16 because previous versions can not
    support the timeout parameter (LP: #1856546)
  * Follow CNAMES when looking up key records when using DNS (pydns)
  * Add support for RFC 8460 tlsrpt DKIM signature processing (LP: #1847020)
  * Add async support with aiodns for DKIM verification (ARC not supported)
  * Add new timeout parameter to enable DNS lookup timeouts to be adjusted
  * Add new DKIM.present function to allow applications to test if a DKIM
    signature is present without doing validation (LP: #1851141)
  * Support signature verification with RSAPublicKey formatted keys
    since, although rare, they are RFC 6376 specified (LP: #1851862)
  * Drop usage of pymilter Milter.dns in dnsplug since it doesn't support
    having a timeout passed to it
  * Catch binascii related key format errors (LP: #1854477)
  * Ignore unknown service types in key records (LP: #1847020)
  * Add LICENSE to MANIFEST.in so it is included in the tarball
- Drop shipped LICENSE file
- Reapplied patch no-optional.patch

OBS-URL: https://build.opensuse.org/request/show/791121
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dkimpy?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-04-03 08:18:06 +00:00
committed by Git OBS Bridge
parent eae7dfeaf0
commit 87da128162
6 changed files with 37 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dkimpy
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,26 +19,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-dkimpy
Version: 0.9.3
Version: 1.0.3
Release: 0
Summary: DKIM (DomainKeys Identified Mail)
License: BSD-2-Clause
URL: https://launchpad.net/dkimpy
Source: https://files.pythonhosted.org/packages/source/d/dkimpy/dkimpy-%{version}.tar.gz
Source99: https://git.launchpad.net/dkimpy/plain/LICENSE
Patch0: no-optional.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyNaCl
Requires: python-authres
Requires: python-dnspython
Requires: python-dnspython >= 1.16
Requires: python-setuptools
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyNaCl}
BuildRequires: %{python_module authres}
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module dnspython >= 1.16}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -50,10 +49,7 @@ DKIM (DomainKeys Identified Mail)
%setup -q -n dkimpy-%{version}
%patch0 -p1
cp %{SOURCE99} .
%build
cp %{SOURCE99} .
%python_build
%install
@@ -64,7 +60,7 @@ cp %{SOURCE99} .
%pytest
%files %{python_files}
%doc ChangeLog README
%doc ChangeLog README.md
%license LICENSE
%python3_only %{_bindir}/arcsign
%python3_only %{_bindir}/arcverify