Skip to content

Commit

Permalink
expired-pgp-keys: Recommend the plugin only if gpg is already installed
Browse files Browse the repository at this point in the history
Since the gnupg2 package is a large binary (around 10MB), it would be preferable to install the plugin only on systems where gpg command is already present.
  • Loading branch information
jan-kolarik authored and m-blaha committed Feb 18, 2025
1 parent c9529c6 commit 822bc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf5.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Recommends: (dnf5-plugins if dnf-plugins-core)
Recommends: bash-completion
Requires: coreutils
%if 0%{?fedora} > 41
Recommends: libdnf5-plugin-expired-pgp-keys
Recommends: (libdnf5-plugin-expired-pgp-keys if gnupg2)
%endif

%if 0%{?fedora} || 0%{?rhel} > 10
Expand Down

0 comments on commit 822bc3c

Please sign in to comment.