From 86ccd1c0f486d38b13a71a3c99879f546ad18b15 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 1 Sep 2010 10:12:31 -0500 Subject: [PATCH] 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 --- src/packaging/RedHat/makesrpm.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/packaging/RedHat/makesrpm.pl b/src/packaging/RedHat/makesrpm.pl index 3fd938a..be36c14 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*\#/); -- 1.9.4