Age | Commit message (Collapse) | Author | Files | Lines |
|
The test suite expects to run under the C locale.
Fixes: https://rt.cpan.org/Ticket/Display.html?id=127314
|
|
All these environment variables are only relevant while running the
test suite. Do not pollute the rest of the environment.
|
|
Split the test recommends from the requires and add develop recommends
into a prereqs metadata hierarchy.
|
|
|
|
This will enable the -TRIAL versioning that CPAN uses to avoid indexing
such releases.
|
|
Set the more generic name from within DPKG_DIST_IS_RELEASE, and use that
directly in the Build.PL.in file.
|
|
When building the CPAN package, we need to also distribute the data
files, otherwise the modules will not work correctly once installed.
|
|
We had an empty do_perl_subst variable in the dist-cpan autotools
target that resulted in copying an empty file, but that was shadowed by
a subsequent copy of the original. So we were ending up with a pristine
non-substituted file.
We actually need to substitute the install paths during the CPAN module
building to preserve system and user settings at that point. Otherwise
the dpkg autotools configure settings might be completely out of touch
with the settings from the system where the CPAN module gets built.
|
|
Forcing the signing while not actually preparing a tarball for a
release disitribution, that is due to a signed tag, means that any
random «make distcheck» will trigger an annoying gpg prompt.
|
|
Doing a normal import via use, means that we need the module to be
present for the unit tests, when we only need it as part of the
distribution process.
|
|
Add a new dist-cpan target that takes care of preparing a perl
distribution to be uploaded to CPAN. Only the modules are shipped,
some of which do require dpkg tools being installed though.
Closes: #821177
|