From 8e2bcb4b4286f803444aa6bab3edbdf77c5abd23 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 26 Mar 2013 16:54:34 +0100 Subject: [PATCH] dracut.spec: don't BuildRequire bash-completion for rhel --- dracut.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dracut.spec b/dracut.spec index 1b0102c7b..af417a42b 100644 --- a/dracut.spec +++ b/dracut.spec @@ -34,9 +34,13 @@ BuildRequires: dash bash git %if 0%{?fedora} || 0%{?rhel} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: pkgconfig +%endif +%if 0%{?fedora} BuildRequires: bash-completion BuildRequires: pkgconfig %endif + %if 0%{?suse_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif -- 2.47.3