Skip Menu |

This queue is for tickets about the RPM-Specfile CPAN distribution.

Report information
The Basics
Id: 41006
Status: new
Priority: 0/
Queue: RPM-Specfile

People
Owner: Nobody in particular
Requestors: richard.siddall [...] elirion.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.51
Fixed in: (no value)



Subject: --buildrequires command line flag is ignored.
There's a slight mismatch between the option name passed to GetOptions and the one used to retrieve the array contents, so the BuildRequires passed in are not written to the specfile. There also seems to be some remnants of older (scalar) versions of the requires/buildrequires code still in cpanflute2. I haven't looked back up the revision tree to see when the bug was introduced.
Subject: cpanflute2.diff
--- /usr/bin/cpanflute2.orig 2007-11-05 11:55:28.000000000 -0500 +++ /usr/bin/cpanflute2 2008-11-17 18:56:42.000000000 -0500 @@ -56,7 +56,7 @@ my $content; my @requires = @{$options{'requires'} || []}; -my @build_requires = @{$options{'build-requires'} || []}; +my @build_requires = @{$options{'buildrequires'} || []}; if(defined($options{'usage'})) { usage();