Skip to content

Commit

Permalink
Work around an RPM build problem.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Oct 31, 2005
1 parent 64b1f6e commit 80e0c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svnimport.perl
Expand Up @@ -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;
Expand Down

0 comments on commit 80e0c0a

Please sign in to comment.