Skip Menu |

This queue is for tickets about the Test-MockObject CPAN distribution.

Report information
The Basics
Id: 105297
Status: open
Priority: 0/
Queue: Test-MockObject

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

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



Subject: Test::README Overwrites File From Test-File
Date: Wed, 17 Jun 2015 09:06:00 -0700
To: Bug-Test-MockObject [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Probably both have the same issue: They install the README.pod as Test::README. I suggest adding something to Makefile.PL to exclude README.pod from installation.
I've reported this issue for Test-File [here](https://github.com/briandfoy/test-file/issues/12). Looks like it could be fixed by the use of an `INSTALL.SKIP` file, which will be read by [ExtUtils::Install](http://perldoc.perl.org/ExtUtils/Install.html).
On 2015-06-17 09:11:28, DWHEELER wrote: Show quoted text
> I've reported this issue for Test-File > [here](https://github.com/briandfoy/test-file/issues/12). Looks like > it could be fixed by the use of an `INSTALL.SKIP` file, which will be > read by > [ExtUtils::Install](http://perldoc.perl.org/ExtUtils/Install.html).
I've approached this problem by never shipping a README.pod -- I only generate one for the github repository, but exclude it from being packaged into the tarball entirely, since it is redundant with the main documentation's pod anyway. Another option is generating a README.md instead of .pod, which PAUSE and installers (EUMM etc) do not treat as installable library files.

Attached INSTALL.SKIP file tested to work.

 

It however may give the appearance of not working, because EUMM will still report copying README.pod to blib/

However, INSTALL.SKIP filters from blib/ to $INSTALL, and so the regex must match paths in blib/


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

Subject: INSTALL.SKIP
Download INSTALL.SKIP
application/octet-stream 13b

Message body not shown because it is not plain text.