Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Mdv CPAN distribution.

Report information
The Basics
Id: 38360
Status: resolved
Priority: 0/
Queue: CPANPLUS-Dist-Mdv

People
Owner: jquelin [...] cpan.org
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.3.6
Fixed in: 0.3.7



Subject: [Patch] CPANPLUS-Dist-Mdv Generates an error due to broken changelog on Cooker
I'm getting: {{{{{{{{{ [ERROR] failed to create mandriva package for 'YAML-LibYAML': error: %changelog entries must start with * }}}}}}}}} Due to a broken changelog. The patch fixes it. Please apply it and release a new version on CPAN. Oh! And the link to http://code.google.com/p/cpanplus-dist-mdv/ is broken. Regards, -- Shlomi Fish
Subject: CPANPLUS-Dist-Mdv-fix.patch
--- lib/CPANPLUS/Dist/Mdv.pm.orig 2008-08-09 23:31:10.513950468 +0300 +++ lib/CPANPLUS/Dist/Mdv.pm 2008-08-09 23:31:19.241701687 +0300 @@ -23,6 +23,7 @@ use Pod::POM::View::Text; use Readonly; use Text::Wrap; +use POSIX (); our $VERSION = '0.3.6'; @@ -181,7 +182,7 @@ last if $line =~ /^__END__$/; $line =~ s/DISTNAME/$distname/; - $line =~ s/DISTVERS/$distvers/; + $line =~ s/DISTVERS/$distvers/g; $line =~ s/DISTSUMMARY/$distsummary/; $line =~ s/DISTEXTENSION/$distext/; $line =~ s/DISTARCH/$distarch/; @@ -190,6 +191,7 @@ $line =~ s/DISTDOC/@docfiles ? "%doc @docfiles" : ''/e; $line =~ s/DISTTOPLEVEL/$disttoplevel/; $line =~ s/DISTEXTRA/join( "\n", @{ $status->extra_files || [] })/e; + $line =~ s/DISTDATE/POSIX::strftime("%a %b %d %Y", localtime())/e; print $specfh $line; } @@ -467,8 +469,8 @@ DISTEXTRA %changelog -initial mdv release, generated with cpan2dist - +* DISTDATE cpan2dist DISTVERS-1mdv +- initial mdv release, generated with cpan2dist __END__
0.3.7 on its way to cpan. thanks for the report & the patch. i've also updated the repository details. for your information, it's now hosted on http://repo.or.cz/w/cpanplus-dist-mdv.git if you're using git and want to be able to push to the repo on a branch of yours, please tell me so. this way it'll be even easier for you to contribute and for me to merge your patches.