forked from pool/python-dkimpy
Compare commits
19 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8a1426ebaa | |||
| 5183f92ac9 | |||
| 1307484593 | |||
| 247ec1da07 | |||
| 946ff9646b | |||
| 8e2dcc9d43 | |||
| dfb807b1ad | |||
| f20f8217e3 | |||
| e11d0aed9a | |||
| 397d89fdd6 | |||
| 6d4fb59122 | |||
| dfcaf1778b | |||
| 345a931714 | |||
| 67850ccf5b | |||
|
|
a3120287d8 | ||
| 3de6a3f89b | |||
|
|
87da128162 | ||
| eae7dfeaf0 | |||
|
|
9b9ba6d9d0 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0ce72d961f443e8f9f05694b354542dee534e08e2b8c5b60c62d5daca7c1da0f
|
|
||||||
size 66557
|
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sat Aug 31 15:09:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -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,8 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?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.8
|
Version: 1.1.8
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user