From 4e33d9985201adc8f426f6a0f9fecf1054f5b613 Mon Sep 17 00:00:00 2001 From: stevenpritchard Date: Wed, 9 Jul 2008 17:37:15 +0000 Subject: [PATCH] Assume that *.inl is a hint that this isn't noarch. Add note to BUGS that Mail::ClamAV gives us trouble. --- BUGS | 1 + Changes | 1 + cpanspec | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/BUGS b/BUGS index 22f2f47..18e0355 100644 --- a/BUGS +++ b/BUGS @@ -3,6 +3,7 @@ - perlmenu 4.0 (*horrible* file name, paths in the tar file, etc.) - Data::Dump::Streamer 2.08-40 (error: line 2: Illegal char '-' in version: Version: 2.08-40) + - Mail::ClamAV 0.22 (uses Inline, so it isn't noarch) * PAR 0.92 is arch-specific because of stuff in %{_bindir}, not %{perl_vendorarch}. There's probably a way to detect that. diff --git a/Changes b/Changes index 7680883..3d73d48 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ * Send STDIN to /dev/null in the child when executing Makefile.PL. (Bug report from Peter Willis.) * Ignore pax_global_header file. +* Assume that *.inl is a hint that this isn't noarch. 1.77 2008-06-16 diff --git a/cpanspec b/cpanspec index 7723192..7002483 100755 --- a/cpanspec +++ b/cpanspec @@ -10,7 +10,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: cpanspec,v 1.65 2008/07/02 18:27:25 stevenpritchard Exp $ +# $Id: cpanspec,v 1.66 2008/07/09 17:37:15 stevenpritchard Exp $ our $NAME="cpanspec"; our $VERSION='1.78'; @@ -715,7 +715,7 @@ for my $file (@args) { my @doc=sort { $a cmp $b } grep { !/\// - and !/\.(pl|xs|h|c|pm|in|pod|cfg)$/i + and !/\.(pl|xs|h|c|pm|in|pod|cfg|inl)$/i and !/^\./ and $_ ne $path and $_ ne "MANIFEST" @@ -739,7 +739,7 @@ for my $file (@args) { my $date=strftime("%a %b %d %Y", localtime); - my $noarch=!grep /\.(c|xs)$/i, @files; + my $noarch=!grep /\.(c|h|xs|inl)$/i, @files; my $vendorlib=($noarch ? "vendorlib" : "vendorarch"); my $lib="\%{perl_$vendorlib}";