Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: fischer.doug [...] grantstreet.com
Cc:
AdminCc:

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



Subject: Provides not added to specfile
Items that are to be added to the Provides: section of the generated spec file via the push_provides() method are not actually written into the spec file. Simple patch follows: --- RPM-Specfile-1.17.orig/lib/RPM/Specfile.pm Thu Apr 8 19:13:26 2004 +++ RPM-Specfile-1.17/lib/RPM/Specfile.pm Fri Feb 4 15:35:15 2005 @@ -142,6 +142,11 @@ $output .= "Requires: $reqs[$i]\n"; } + my @provs = $self->provide; + for my $i (0 .. $#provs) { + $output .= "Provides: $provs[$i]\n"; + } + my @sources = $self->source; for my $i (0 .. $#sources) { $output .= "Source$i: $sources[$i]\n";