diff --git a/dnf.spec b/dnf.spec index e882081..45d2451 100644 --- a/dnf.spec +++ b/dnf.spec @@ -66,7 +66,7 @@ It supports RPMs, modules and comps groups & environments. Name: dnf Version: 4.10.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{pkg_summary} # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2+ @@ -89,7 +89,6 @@ Requires: python-dbus Requires: %{_bindir}/sqlite3 %else Recommends: (python3-dbus if NetworkManager) -Recommends: (%{_bindir}/sqlite3 if bash-completion) %endif Provides: dnf-command(alias) Provides: dnf-command(autoremove) @@ -159,6 +158,8 @@ Requires: python3-gpg Requires: %{name}-data = %{version}-%{release} %if 0%{?fedora} Recommends: deltarpm +# required for DNSSEC main.gpgkey_dns_verification https://dnf.readthedocs.io/en/latest/conf_ref.html +Recommends: python3-unbound %endif Requires: python3-hawkey >= %{hawkey_version} Requires: python3-libdnf >= %{hawkey_version} @@ -166,12 +167,10 @@ Requires: python3-libcomps >= %{libcomps_version} Requires: python3-libdnf BuildRequires: python3-rpm >= %{rpm_version} Requires: python3-rpm >= %{rpm_version} -# required for DNSSEC main.gpgkey_dns_verification https://dnf.readthedocs.io/en/latest/conf_ref.html -Recommends: python3-unbound %if 0%{?rhel} && 0%{?rhel} <= 7 Requires: rpm-plugin-systemd-inhibit %else -Recommends: rpm-plugin-systemd-inhibit +Recommends: (rpm-plugin-systemd-inhibit if systemd) %endif %description -n python3-%{name} @@ -374,6 +373,11 @@ popd %{python3_sitelib}/%{name}/automatic/ %changelog +* Mon Jan 24 2022 Pavla Kratochvilova - 4.10.0-3 +- Don't recommend python3-unbound (RhBug:1947925) +- Recommend rpm-plugin-systemd-inhibit only if systemd (RhBug:1947924) +- Don't recommend %{_bindir}/sqlite3 for bash-completion (RhBug:1947924) + * Tue Dec 07 2021 Pavla Kratochvilova - 4.10.0-2 - Respect cacheonly in python dnf API (RhBug:2026849) - [doc] Improve description of multilib_policy=all (RhBug:1996681,1995630)