rpms/perl-ExtUtils-AutoInstall/devel eai.patch, NONE, 1.1 perl-ExtUtils-AutoInstall.spec, 1.7, 1.8

Tom Callaway spot at fedoraproject.org
Tue Mar 4 15:45:13 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/perl-ExtUtils-AutoInstall/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20954

Modified Files:
	perl-ExtUtils-AutoInstall.spec 
Added Files:
	eai.patch 
Log Message:
get this building in rawhide

eai.patch:

--- NEW FILE eai.patch ---
diff -rN -u old-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm new-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm
--- old-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm	2004-10-18 23:53:40.000000000 -0700
+++ new-ExtUtils-AutoInstall-0.61/lib/ExtUtils/AutoInstall.pm	2005-03-21 20:06:24.000000000 -0800
@@ -873,9 +873,14 @@
     }
 
     $args{test}{TESTS} ||= 't/*.t';
-    $args{test}{TESTS} = join(' ', grep {
-        !exists($DisabledTests{$_})
-    } map { glob($_) } split(/\s+/, $args{test}{TESTS}));
+
+    # Only expand the list of tests if we absolutely have to to avoid
+    # blowing over command line limits.
+    if( keys %DisabledTests ) {
+	$args{test}{TESTS} = join(' ', grep {
+	    !exists($DisabledTests{$_})
+	} map { glob($_) } split(/\s+/, $args{test}{TESTS}));
+    }
 
     my $missing = join(',', @Missing);
     my $config  = join(',',



Index: perl-ExtUtils-AutoInstall.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ExtUtils-AutoInstall/devel/perl-ExtUtils-AutoInstall.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-ExtUtils-AutoInstall.spec	8 Feb 2008 18:14:55 -0000	1.7
+++ perl-ExtUtils-AutoInstall.spec	4 Mar 2008 15:44:35 -0000	1.8
@@ -1,17 +1,18 @@
 Name: 		perl-ExtUtils-AutoInstall
 Version: 	0.63
-Release: 	7%{?dist}
+Release: 	8%{?dist}
 Summary: 	Automatic install of dependencies via CPAN
 License: 	GPL+ or Artistic
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/ExtUtils-AutoInstall/
 Source: 	http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz
+Patch0:		eai.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch: 	noarch
 
-%{?_with_perl_CPANPLUS:BuildRequires:  perl(CPANPLUS) >= 0.043}
+BuildRequires:  perl(CPANPLUS) >= 0.043
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Sort::Versions) >= 1.2
 BuildRequires:	perl(LWP::Simple)
@@ -24,6 +25,7 @@
 
 %prep
 %setup -q -n ExtUtils-AutoInstall-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor --defaultdeps
@@ -50,6 +52,10 @@
 %{_mandir}/man3/*
 
 %changelog
+* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.63-8
+- do not expand the glob if there are no disabled tests (#11960)
+- enable CPANPLUS BR by default
+
 * Fri Feb 08 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.63-7
 - rebuild for new perl
 




More information about the Fedora-perl-devel-list mailing list