14
0
forked from pool/python-dkimpy
Files
python-dkimpy/python-dkimpy.spec
Tomáš Chvátal 87da128162 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
2020-04-03 08:18:06 +00:00

74 lines
2.1 KiB
RPMSpec

#
# spec file for package python-dkimpy
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-dkimpy
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
Patch0: no-optional.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyNaCl
Requires: python-authres
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 >= 1.16}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
DKIM (DomainKeys Identified Mail)
%prep
%setup -q -n dkimpy-%{version}
%patch0 -p1
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc ChangeLog README.md
%license LICENSE
%python3_only %{_bindir}/arcsign
%python3_only %{_bindir}/arcverify
%python3_only %{_bindir}/dkimsign
%python3_only %{_bindir}/dkimverify
%python3_only %{_bindir}/dknewkey
%{python_sitelib}/*
%python3_only %{_mandir}/man1/*.1*
%changelog