From b98936d574b9fed5ff0493ee69d558ca67788810 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Tue, 19 Aug 2008 11:54:00 +0300 Subject: [PATCH] redhat-rpm-config RPM should be installed on RedHat Distributions in order to build debuginfo RPMs. Signed-off-by: Vladimir Sokolovsky --- install.pl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install.pl b/install.pl index 8966793..5155cfe 100755 --- a/install.pl +++ b/install.pl @@ -2451,6 +2451,15 @@ sub check_linux_dependencies } } + if ($package =~ /debuginfo/ and ($distro eq 'redhat' or $distro eq 'fedora' or $distro eq 'redhat5')) { + if (not $packages_info{$package}{'rpm_exist'}) { + if (not is_installed("redhat-rpm-config")) { + print RED "redhat-rpm-config rpm is required to build $package", RESET "\n"; + $err++; + } + } + } + if (not $packages_info{$package}{'rpm_exist'}) { for my $req ( @{ $packages_info{$package}{'dist_req_build'} } ) { my ($req_name, $req_version) = (split ('_',$req)); -- 2.46.0