From bb880e2ace066a16cfd464c891d081267e52bac1 Mon Sep 17 00:00:00 2001 From: Jan Kolarik Date: Mon, 10 Feb 2025 07:50:55 +0000 Subject: [PATCH] expired-pgp-keys: Install the plugin by default on Fedora 42+ Also add a dependency on the gpg command provider. --- dnf5.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dnf5.spec b/dnf5.spec index 6009a4932..c1f7b19cd 100644 --- a/dnf5.spec +++ b/dnf5.spec @@ -21,6 +21,9 @@ Requires: dnf-data Recommends: (dnf5-plugins if dnf-plugins-core) Recommends: bash-completion Requires: coreutils +%if 0%{?fedora} > 41 +Recommends: libdnf5-plugin-expired-pgp-keys +%endif %if 0%{?fedora} || 0%{?rhel} > 10 Provides: microdnf = %{version}-%{release} @@ -632,6 +635,7 @@ Libdnf5 plugin that installs repository's Appstream data, for repositories which Summary: Libdnf5 plugin for detecting and removing expired PGP keys License: LGPL-2.1-or-later Requires: libdnf5%{?_isa} = %{version}-%{release} +Requires: gnupg2 %description -n libdnf5-plugin-expired-pgp-keys Libdnf5 plugin for detecting and removing expired PGP keys.