Skip to content

Commit

Permalink
build: Adapt to changes in Fedora packaging of bash-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kolarik authored and m-blaha committed Feb 20, 2024
1 parent c59f4b2 commit ec445c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec445c1

Please sign in to comment.