4 Commits

Author SHA256 Message Date
13429865d5 Accepting request 1286126 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dkimpy?expand=0&rev=10
2025-06-17 16:21:42 +00:00
fd90527834 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dkimpy?expand=0&rev=19
2025-06-16 13:48:18 +00:00
83ed8bba31 Accepting request 1198093 from devel:languages:python
- update to 1.1.8:
  * Correctly handle verification of signatures without t=
    (timestamp) and with x= (expiration); both are optional
  * Fix error in validate_signature_fields which prevented
    signature expiration from being properly evaluated
  * Correct ARC signing for AR headers with authres-version
    or comments before resinfo
  * Correct line separtor after AAR header field
  * Correct signature in ARC-Seal on LF as linesep

OBS-URL: https://build.opensuse.org/request/show/1198093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dkimpy?expand=0&rev=9
2024-09-01 17:22:38 +00:00
1e44c0cdc3 - update to 1.1.8:
* Correctly handle verification of signatures without t=
    (timestamp) and with x= (expiration); both are optional
  * Fix error in validate_signature_fields which prevented
    signature expiration from being properly evaluated
  * Correct ARC signing for AR headers with authres-version
    or comments before resinfo
  * Correct line separtor after AAR header field
  * Correct signature in ARC-Seal on LF as linesep

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dkimpy?expand=0&rev=17
2024-08-31 15:10:59 +00:00
4 changed files with 29 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ce72d961f443e8f9f05694b354542dee534e08e2b8c5b60c62d5daca7c1da0f
size 66557

3
dkimpy-1.1.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5f60fb47bbf5d8d762f134bcea0c388eba6b498342a682a21f1686545094b77
size 66979

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Jun 16 13:47:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Sat Aug 31 15:09:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.1.8:
* Correctly handle verification of signatures without t=
(timestamp) and with x= (expiration); both are optional
* Fix error in validate_signature_fields which prevented
signature expiration from being properly evaluated
* Correct ARC signing for AR headers with authres-version
or comments before resinfo
* Correct line separtor after AAR header field
* Correct signature in ARC-Seal on LF as linesep
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 20 13:41:46 UTC 2024 - Dirk Müller <dmueller@suse.com> Sat Apr 20 13:41:46 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-dkimpy # spec file for package python-dkimpy
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,11 @@
# #
%{?sle15_python_module_pythons}
%define commands arcsign arcverify dkimsign dkimverify dknewkey %define commands arcsign arcverify dkimsign dkimverify dknewkey
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-dkimpy Name: python-dkimpy
Version: 1.1.6 Version: 1.1.8
Release: 0 Release: 0
Summary: DKIM (DomainKeys Identified Mail) Summary: DKIM (DomainKeys Identified Mail)
License: BSD-2-Clause License: BSD-2-Clause
@@ -29,15 +30,15 @@ Patch0: no-optional.patch
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: openssl BuildRequires: openssl
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: alts
Requires: python-PyNaCl Requires: python-PyNaCl
Requires: python-authres Requires: python-authres
Requires: python-dnspython >= 1.16 Requires: python-dnspython >= 1.16
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module PyNaCl} BuildRequires: %{python_module PyNaCl}
@@ -67,14 +68,9 @@ done
%check %check
%pytest %pytest
%post %pre
for c in %{commands}; do for c in %{commands}; do
%python_install_alternative $c $c.1 %python_libalternatives_reset_alternative $c
done
%postun
for c in %{commands}; do
%python_uninstall_alternative $c
done done
%files %{python_files} %files %{python_files}