forked from pool/python-dkimpy
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1307484593 | |||
| 52a66d5c59 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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) 2025 SUSE LLC
|
# Copyright (c) 2024 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,9 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define commands arcsign arcverify dkimsign dkimverify dknewkey
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
%define commands arcsign arcverify dkimsign dkimverify dknewkey
|
||||||
Name: python-dkimpy
|
Name: python-dkimpy
|
||||||
Version: 1.1.8
|
Version: 1.1.8
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -30,15 +29,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}
|
||||||
@@ -68,9 +67,14 @@ done
|
|||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%pre
|
%post
|
||||||
for c in %{commands}; do
|
for c in %{commands}; do
|
||||||
%python_libalternatives_reset_alternative $c
|
%python_install_alternative $c $c.1
|
||||||
|
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