diff --git a/dnf.spec b/dnf.spec index 99f3b3e..83f0cbf 100644 --- a/dnf.spec +++ b/dnf.spec @@ -79,7 +79,11 @@ BuildRequires: cmake BuildRequires: gettext # Documentation BuildRequires: systemd +%if 0%{?fedora} > 40 || 0%{?rhel} > 10 +BuildRequires: bash-completion-devel +%else BuildRequires: bash-completion +%endif BuildRequires: %{_bindir}/sphinx-build-3 Requires: python3-%{name} = %{version}-%{release} %if 0%{?rhel} && 0%{?rhel} <= 7