From 370872207820e08eb58f497b4a0a49c28b18077d Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sat, 26 Jun 2010 15:35:07 +0100 Subject: [PATCH] RPM Packaging: Skip comments in configure.in Skip comments in the configure.in file, so we don't end up using the commented out version information. Change-Id: I14bef1d448b77c915aa04b3fe555b270ce20ac67 Reviewed-on: http://gerrit.openafs.org/2261 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/packaging/RedHat/makesrpm.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/packaging/RedHat/makesrpm.pl b/src/packaging/RedHat/makesrpm.pl index 4b3601c14d..f6b931e4b9 100755 --- a/src/packaging/RedHat/makesrpm.pl +++ b/src/packaging/RedHat/makesrpm.pl @@ -48,6 +48,8 @@ my $linuxrel; my $fh = new IO::File $srcdir."/configure.in" or die "Unable to find unpacked configure.in file"; while(<$fh>) { + next if (/^\s*\#/); + if (/AM_INIT_AUTOMAKE\(openafs,(.*)\)/) { $afsversion = $1; next;