Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.12. Changelog diff is:
Browse files Browse the repository at this point in the history
  • Loading branch information
dann committed Jan 30, 2010
1 parent 6961bd6 commit 0525f90
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README
Expand Up @@ -52,6 +52,42 @@ SYNOPSIS
cpan_mirrors:
- file:///home/dann/minicpan

How to use the config (Advanced)
Fix broken MEATA.yml of some modules like:
global:
fix_meta_yml_modules:
- YAML
- Class::Member
- HTTP::Request::AsCGI

Apply patches to tarball when you build rpms
You need to write the configuration like:

- module: Acme
custom:
tgz_path: ~/.cpanpackager/custom_module/Acme-1.11111.tar.gz
patches:
- ~/.cpanpackager/custom_module/acme_test.patch
dist_name: Acme
version: 1.11111

The patch is like:

--- Acme-1.11111/t/acme.t.orig 2010-01-26 22:26:51.000000000 +0900
+++ Acme-1.11111/t/acme.t 2010-01-26 22:26:39.000000000 +0900
@@ -1,8 +1,10 @@
use lib 't', 'lib';
use strict;
use warnings;
-use Test::More tests => 2;
+use Test::More tests => 3;
use Acme;

ok(acme->is_acme);
ok(acme->is_perfect);
+ok 1;
+

Specify installation location (optional)
It is possible for a CPAN::Packager user to explicitly specify
installation locations for a distribution's libraries, documentation,
Expand All @@ -77,6 +113,13 @@ SYNOPSIS
Copy conf/debian/rules* to ~/.dh-make-perl directory. copying
perllocal.pod is conflited if you dont do that.

ENVIRONMENT VARIABLES
Environment variable "CPAN_PACKAGER_TEST_LIVE" can be used to execute
live tests.

Environment variable "CPAN_PACKAGER_ENABLE_DUMP" can be used to dump
variables.

DESCRIPTION
cpan-packager will create the files required to build a debian or redhat
source package out of a perl package. This works for most simple
Expand Down

0 comments on commit 0525f90

Please sign in to comment.