commit 2b15009c8814256773562e3c855cb0a9a00718db Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Wed Jun 22 10:29:22 2011 +0200 fix tests for 5.14.1 perl-rpm-build-perl.spec | 4 +++- tests5.14.patch | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletions(-) --- diff --git a/perl-rpm-build-perl.spec b/perl-rpm-build-perl.spec index 6ce249d..f20dc11 100644 --- a/perl-rpm-build-perl.spec +++ b/perl-rpm-build-perl.spec @@ -7,6 +7,7 @@ Group: Development/Libraries Summary: Perl compiler backend to extract Perl dependencies Source: http://search.cpan.org/CPAN/authors/id/A/AT/ATOURBIN/rpm-build-perl-%{version}.tar.gz Url: http://search.cpan.org/dist/rpm-build-perl +Patch0: tests5.14.patch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -34,6 +35,7 @@ The provides/requires scripts packaged along with perl-rpm-build-perl. %prep %setup -q -n rpm-build-perl-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -63,7 +65,7 @@ make test %changelog * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.74-1 -- update to 0.74, clean spec +- update to 0.74, clean spec, fix tests for 5.14.1 * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.72-4 - Perl mass rebuild diff --git a/tests5.14.patch b/tests5.14.patch new file mode 100644 index 0000000..972e9c9 --- /dev/null +++ b/tests5.14.patch @@ -0,0 +1,17 @@ +diff -up rpm-build-perl-0.74/t/02-perlreq.t.old rpm-build-perl-0.74/t/02-perlreq.t +--- rpm-build-perl-0.74/t/02-perlreq.t.old 2010-04-20 08:43:06.000000000 +0200 ++++ rpm-build-perl-0.74/t/02-perlreq.t 2011-06-22 10:21:45.353919965 +0200 +@@ -33,10 +33,10 @@ sub Requires ($$) { + ok $? == 0, "$f zero exit status"; + } + +-# Valid for perl-5.8.0 - perl-5.8.9. ++# Valid for perl-5.14.1 + Requires "AutoLoader.pm" => "perl-base >= 1:5.6.1"; + Requires "Exporter.pm" => "perl(Exporter/Heavy.pm) perl-base >= 1:5.6.0"; + Requires "IO/File.pm" => "perl(File/Spec.pm) perl(IO/Seekable.pm) perl(SelectSaver.pm) perl(Symbol.pm) perl-base >= 1:5.6.1"; +-Requires "File/Glob.pm" => "perl(Text/ParseWords.pm) perl(XSLoader.pm)"; +-Requires "Socket.pm" => "perl(warnings/register.pm) perl(XSLoader.pm)"; ++Requires "File/Glob.pm" => "perl(feature.pm) perl(Text/ParseWords.pm) perl(XSLoader.pm)"; ++Requires "Socket.pm" => "perl(Scalar/Util.pm) perl(warnings/register.pm) perl(XSLoader.pm)"; + -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel