make arch specific Require kdb where its available

This commit is contained in:
Dennis Gilmore 2009-08-26 17:27:15 +00:00
parent dc6040119b
commit 953d190ed3

View File

@ -13,7 +13,7 @@
Name: dracut Name: dracut
Version: 0.9 Version: 0.9
Release: 2%{?rdist} Release: 3%{?rdist}
Summary: Initramfs generator using udev Summary: Initramfs generator using udev
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
@ -44,10 +44,12 @@ Requires: bridge-utils
Requires: file Requires: file
Requires: bzip2 Requires: bzip2
Requires: dmraid Requires: dmraid
%ifnarch s390 s390x
Requires: kdb
%endif
%if ! 0%{?with_switch_root} %if ! 0%{?with_switch_root}
Requires: util-linux-ng >= 2.16 Requires: util-linux-ng >= 2.16
BuildArch: noarch
%endif %endif
%description %description
@ -142,6 +144,10 @@ rm -rf $RPM_BUILD_ROOT
%dir /var/lib/dracut/overlay %dir /var/lib/dracut/overlay
%changelog %changelog
* Wed Aug 26 2009 Dennis Gilmore <dennis@ausil.us> 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 <harald@redhat.com> 0.9-2 * Mon Aug 24 2009 Harald Hoyer <harald@redhat.com> 0.9-2
- removed kdb requirement (because s390x does not have it) - removed kdb requirement (because s390x does not have it)