[packagers] perl-App-CLI still prompts

Who Knows quien-sabe at metaorg.com
Mon Aug 6 22:26:00 CEST 2007


You added the following:

BuildRequires: perl(Getopt::Long) >= 2.35

However the build still isn't failing due to BuildRequires. As seen 
below my build machine
running fc4 has Getopt::Long version 2.34, so the rpm build hangs with 
the prompt below:
+ unset DISPLAY
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 
PREFIX=/var/tmp/perl-App-CLI-0.07-1-root/usr
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Locale::Maketext::Simple ...loaded. (0.16)
- Getopt::Long             ...missing. (would need 2.35)
- Pod::Simple::Text        ...loaded. (2.02)
==> Auto-install the 1 mandatory module(s) from CPAN? [y]


And as can be seen my version didn't meet the BuildRequires

[machbuild at foxy perl-App-CLI]$ grep VERSION 
/usr/lib/perl5/5.8.6/Getopt/Long.pm
use vars qw($VERSION);
$VERSION        =  2.34;
#use vars qw($VERSION_STRING);
#$VERSION_STRING = "2.33_03";
($major_version, $minor_version) = $VERSION =~ /^(\d+)\.(\d+)/;
          ("Getopt::Long $Getopt::Long::VERSION (",
    my $v = $main::VERSION;
               defined($Getopt::Long::VERSION_STRING)
                 ? $Getopt::Long::VERSION_STRING : $VERSION, ";",
sub VERSION {
    shift->SUPER::VERSION(@_);
program name, its version (if $main::VERSION is defined), and the


More information about the packagers mailing list