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>
Junio C Hamano committed
Oct 30, 2005 at 15:07 UTC
80e0c0ab91e1cf6a6315d0431bf6873ebbf8bef0
1 file changed
+1
-1
git-svnimport.perl
+1
-1
@@ -10,7 +10,7 @@
10
# The head revision is on branch "origin" by default.
11
# You can change that with the '-o' option.
12
13
-require v5.8.0; # for shell-safe open("-|",LIST)
13
+require 5.008; # for shell-safe open("-|",LIST)
14
use strict;
15
use warnings;
16
use Getopt::Std;