From 953d190ed3e82d27219b7303819e736c1445e771 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 26 Aug 2009 17:27:15 +0000 Subject: [PATCH] make arch specific Require kdb where its available --- dracut.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dracut.spec b/dracut.spec index c2959bd..44d3af9 100644 --- a/dracut.spec +++ b/dracut.spec @@ -13,7 +13,7 @@ Name: dracut Version: 0.9 -Release: 2%{?rdist} +Release: 3%{?rdist} Summary: Initramfs generator using udev Group: System Environment/Base License: GPLv2+ @@ -44,10 +44,12 @@ Requires: bridge-utils Requires: file Requires: bzip2 Requires: dmraid +%ifnarch s390 s390x +Requires: kdb +%endif %if ! 0%{?with_switch_root} Requires: util-linux-ng >= 2.16 -BuildArch: noarch %endif %description @@ -142,6 +144,10 @@ rm -rf $RPM_BUILD_ROOT %dir /var/lib/dracut/overlay %changelog +* Wed Aug 26 2009 Dennis Gilmore 0.9-3 +- make arch specific. There are arch specific dependancies. +- add back kdb requirement on arches where its used. + * Mon Aug 24 2009 Harald Hoyer 0.9-2 - removed kdb requirement (because s390x does not have it)