Skip Menu |

This queue is for tickets about the cpan2rpm CPAN distribution.

Report information
The Basics
Id: 19779
Status: open
Priority: 0/
Queue: cpan2rpm

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

Bug Information
Severity: (no value)
Broken in:
  • 2.027
  • 2.028
Fixed in: (no value)



Subject: does not work for Test::Simple
MY->fixin affects t/*.t files in Test-Simple, and this cause failure of make test.
Subject: cpan2rpm-2.028.fixin.patch
diff -urN cpan2rpm-2.028.orig/cpan2rpm cpan2rpm-2.028/cpan2rpm --- cpan2rpm-2.028.orig/cpan2rpm 2005-06-18 14:06:54.000000000 +0900 +++ cpan2rpm-2.028/cpan2rpm 2006-06-08 16:43:05.000000000 +0900 @@ -613,7 +613,7 @@ $info->{fixin} = <<EOF; grep -rsl '^#!.*perl' . | - grep -v '\.bak\$' |xargs --no-run-if-empty \\ + grep -v '\\.bak\$\\|\\.t\$' |xargs --no-run-if-empty \\ %__perl -MExtUtils::MakeMaker -e 'MY->fixin(\@ARGV)' EOF
On Thu Jun 08 04:00:41 2006, HIO wrote: Show quoted text
> MY->fixin affects t/*.t files in Test-Simple, and this cause failure of > make test.
This was just brought to my attention. I'm not sure why cpan2rpm is running fixin manually at all. MakeMaker and Module::Build should be making sure installed perl scripts have been run through fixin. I'd recommend just removing it entirely.