Skip Menu |

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

Report information
The Basics
Id: 84091
Status: resolved
Priority: 0/
Queue: Test-Inter

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: 1.04 install example script into standard PATH
1.04 started to install example/* files into standard path like /usr/bin. I think this is wrong for two reasons: (1) The executable names are short and not unique enough. (is, ok, plan, etc.) (2) The executables are no tools, these are still examples. At least examples/ok is that case. Thus I propose reverting the Build.PL change that introduced script_files key.
From: ppisar [...] redhat.com
Dne St 20.bře.2013 08:38:24, ppisar napsal(a): Show quoted text
> Thus I propose reverting the Build.PL change that introduced > script_files key.
Attached patch implements it. -- Petr
Subject: Test-Inter-1.04-Do-not-install-examples.patch
From 50a4e166c68c5cea4aad1216ae94086c2b9b6219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Wed, 20 Mar 2013 13:40:19 +0100 Subject: [PATCH] Do not install examples <https://rt.cpan.org/Public/Bug/Display.html?id=84091>. --- Build.PL | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Build.PL b/Build.PL index c602291..4b3d49c 100644 --- a/Build.PL +++ b/Build.PL @@ -25,13 +25,6 @@ my $build = $class->new( requires => \%requires, build_requires => \%build_mods, sign => 1, - script_files => [ - 'examples/is', - 'examples/ok', - 'examples/use_ok', - 'examples/plan', - 'examples/tests', - ], ); $build->create_build_script; -- 1.8.1.4
I agree. My Makefile.PL and Build.PL scripts are generated and I didn't notice that those example scripts ended up in them. You're correct that it isn't appropriate to install them. I've corrected that and will release a fixed version today.