aboutsummaryrefslogtreecommitdiff
path: root/git-svnimport.perl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-30 15:07:01 -0800
committerJunio C Hamano <junkio@cox.net>2005-10-30 17:28:04 -0800
commit80e0c0ab91e1cf6a6315d0431bf6873ebbf8bef0 (patch)
tree8c8ace55eb085e930dcc9482f7cf66f9399374b4 /git-svnimport.perl
parent64b1f6e676a5621483feac0082e11cd79c1ad825 (diff)
downloadgit-80e0c0ab91e1cf6a6315d0431bf6873ebbf8bef0.tar.gz
git-80e0c0ab91e1cf6a6315d0431bf6873ebbf8bef0.tar.xz
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 <junkio@cox.net>
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-xgit-svnimport.perl2
1 files changed, 1 insertions, 1 deletions
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;