diff --git a/conserver/bldconserver.pl b/conserver/bldconserver.pl index 0889db3..13a9699 100755 --- a/conserver/bldconserver.pl +++ b/conserver/bldconserver.pl @@ -10,6 +10,8 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) { $os = "rh5"; } elsif (grep /Red Hat Enterprise Linux Server release 6\.\d/, @output) { $os = "rh6"; +} elsif (grep /Red Hat Enterprise Linux Server release 7\.\d/, @output) { + $os = "rh7"; } elsif (grep /SUSE Linux Enterprise Server 10/, @output) { $os = "sles10"; } elsif (grep /SUSE Linux Enterprise Server 11/, @output) { @@ -46,7 +48,7 @@ if ( (! -f "$pwd/conserver-8.1.16.tar.gz") my $blddir; if ($os eq "rh5") { $blddir = "/usr/src/redhat"; -} elsif ($os eq "rh6" || $os eq "fedora") { +} elsif ($os eq "rh6" || $os eq "fedora" || $os eq "rh7") { $blddir = "/root/rpmbuild"; } elsif ($os =~ /sles1\d/) { $blddir = "/usr/src/packages";