Skip Menu |

This queue is for tickets about the DateTime-Format-Duration CPAN distribution.

Report information
The Basics
Id: 53462
Status: resolved
Priority: 0/
Queue: DateTime-Format-Duration

People
Owner: ether [...] cpan.org
Requestors: david.tulloh [...] AirservicesAustralia.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.04



Subject: [Enhancement Request] Please package META.yml
Date: Thu, 7 Jan 2010 17:12:33 +1100
To: <bug-DateTime-Format-Duration [...] rt.cpan.org>
From: "Tulloh, David" <david.tulloh [...] AirservicesAustralia.com>
Packaging META.yml allows third party tools like Debian's dh-make-perl to correctly install the package. Unfortunately you haven't included it so the installation requires manual fiddling. MakeMaker will generate this file for you with the following command: make distdir This should also avoid bugs like 48187 dist version does not match module version For anyone looking for a workaround, Once your `dh-make-perl --make --cpan DateTime::Format::Duration` has failed you should have a DateTime-Format-Duration-1.03a directory left over. Cd inside there. Then run `perl Makefile.PL` Then run `make distdir` This will create another directory, DateTime-Format-Duration-1.03, cd inside that. This directory includes META.yml. From here, run `dh-make-perl --build` The package should build correctly and you can install as normal, `sudo dpkg -i ../libdatetime-format-duration-perl_1.03-1_all.deb` David
Fixed in 1.04 release.