From: Andrew Deason Date: Wed, 1 Sep 2010 15:12:31 +0000 (-0500) Subject: RedHat: Use configure.ac in makesrpm.pl X-Git-Tag: upstream/1.8.0_pre1^2~4871 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=86ccd1c0f486d38b13a71a3c99879f546ad18b15;p=packages%2Fo%2Fopenafs.git RedHat: Use configure.ac in makesrpm.pl We don't have a configure.in anymore; instead we have a configure.ac. Change-Id: Ic79b5577cf2d5cd3021fe933ca5405fb2d514a4d Reviewed-on: http://gerrit.openafs.org/2639 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/packaging/RedHat/makesrpm.pl b/src/packaging/RedHat/makesrpm.pl index 3fd938a32..be36c141d 100755 --- a/src/packaging/RedHat/makesrpm.pl +++ b/src/packaging/RedHat/makesrpm.pl @@ -29,7 +29,7 @@ if (! -f $srcball) { my $tmpdir = File::Temp::tempdir(CLEANUP => 1); -system("tar -C $tmpdir -xvjf $srcball '\*/configure.in' ". +system("tar -C $tmpdir -xvjf $srcball '\*/configure.ac' ". "'\*/src/packaging/RedHat' > /dev/null")==0 or die "Unable to unpack src tar ball\n"; @@ -41,12 +41,12 @@ die "Unable to find unpacked source code\n" if !$vdir; my $srcdir = $tmpdir."/".$vdir; -# Work out which version we're dealing with from the configure.in file +# Work out which version we're dealing with from the configure.ac file my $afsversion; my $linuxver; my $linuxrel; -my $fh = new IO::File $srcdir."/configure.in" - or die "Unable to find unpacked configure.in file"; +my $fh = new IO::File $srcdir."/configure.ac" + or die "Unable to find unpacked configure.ac file"; while(<$fh>) { next if (/^\s*\#/);