From: Junio C Hamano Date: Sun, 30 Oct 2005 23:07:01 +0000 (-0800) Subject: Work around an RPM build problem. X-Git-Tag: v0.99.9a^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=80e0c0ab91e1cf6a6315d0431bf6873ebbf8bef0;p=git.git Work around an RPM build problem. The require statement at the top of git-svnimport seems to confuse rpmbuild dependency generation. It uses the newer notation "v5.8.0", and rpm ends up requiring "perl(v5.8.0)", while we would want it to say something like "perl >= 0:5.008". Ryan suggests old-style "require 5.008" might fix this problem, so here it is. Signed-off-by: Junio C Hamano --- diff --git a/git-svnimport.perl b/git-svnimport.perl index 20a85724c..45b6a1986 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -10,7 +10,7 @@ # The head revision is on branch "origin" by default. # You can change that with the '-o' option. -require v5.8.0; # for shell-safe open("-|",LIST) +require 5.008; # for shell-safe open("-|",LIST) use strict; use warnings; use Getopt::Std;