From 5283544cc76bac8bfc7585c9f5df377a2adc7368 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 19 Feb 2018 09:10:12 +0100 Subject: [PATCH] dracut.spec: add BuildRequires gcc --- dracut.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dracut.spec b/dracut.spec index d547e847..4b5f0146 100644 --- a/dracut.spec +++ b/dracut.spec @@ -39,8 +39,10 @@ URL: https://dracut.wiki.kernel.org/ Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz Source1: https://www.gnu.org/licenses/lgpl-2.1.txt -BuildRequires: bash git +BuildRequires: bash +BuildRequires: git BuildRequires: kmod-devel >= 23 +BuildRequires: gcc %if 0%{?fedora} || 0%{?rhel} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)