commit 19a14ae3cc18461c33c036a0747876d8e99c987c Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Mon Aug 9 08:42:21 2010 +0200 Fix requirement perl-ORLite-Migrate-req.patch fix requirement of File::Spec. Old problem with RPM can't handle CPAN versions (3.2701 < 3.28). perl-ORLite-Migrate-req.patch | 17 +++++++++++++++++ perl-ORLite-Migrate.spec | 10 +++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) --- diff --git a/perl-ORLite-Migrate-req.patch b/perl-ORLite-Migrate-req.patch new file mode 100644 index 0000000..b6071ef --- /dev/null +++ b/perl-ORLite-Migrate-req.patch @@ -0,0 +1,17 @@ +2009-06-10 Stepan Kasal <skasal@xxxxxxxxxx> + +Require File::Spec 2.28, rpm is not able to grok the crazy +perl versioning. + + +--- ORLite-Migrate-0.03/lib/ORLite/Migrate.pm.orig 2009-04-19 14:18:00.000000000 +0200 ++++ ORLite-Migrate-0.03/lib/ORLite/Migrate.pm 2009-06-10 14:38:43.000000000 +0200 +@@ -5,7 +5,7 @@ + use 5.006; + use strict; + use Carp (); +-use File::Spec 3.2701 (); ++use File::Spec 3.28 (); + use File::Path 2.04 (); + use File::Basename (); + use Params::Util 0.37 qw{ _STRING _CLASS _HASH }; diff --git a/perl-ORLite-Migrate.spec b/perl-ORLite-Migrate.spec index af12779..05f10b4 100644 --- a/perl-ORLite-Migrate.spec +++ b/perl-ORLite-Migrate.spec @@ -1,11 +1,12 @@ Name: perl-ORLite-Migrate Version: 1.07 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Light weight SQLite-specific schema migration License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/ORLite-Migrate/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/ORLite-Migrate-%{version}.tar.gz +Patch0: perl-ORLite-Migrate-req.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # File::Spec >= 3.2701, we have 3.30, rpm can't process 3.2701 < 3.30 @@ -35,6 +36,7 @@ weight single class Database Schema Migration enhancement for ORLite. %prep %setup -q -n ORLite-Migrate-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -51,8 +53,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -# this is blocked by old File::Spec in perl core package -#make test +make test %clean rm -rf $RPM_BUILD_ROOT @@ -64,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Mon Aug 9 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.07-2 +- fix requirement of this update + * Tue May 04 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.03-6 - Mass rebuild with perl-5.12.0 -- 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