Fix building after bash-completion repackaging

See also https://github.com/rpm-software-management/dnf5/issues/1252.

Resolves: RHEL-38831
This commit is contained in:
Jan Kolarik 2024-02-20 14:08:14 +01:00 committed by Petr Písař
parent a129b7e144
commit 72ddbffbd0

View File

@ -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