rpms/perl-ORLite-Migrate/F-11 perl-ORLite-Migrate-req.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 perl-ORLite-Migrate.spec, 1.2, 1.3 sources, 1.2, 1.3

Marcela Mašláňová mmaslano at fedoraproject.org
Thu Jun 18 13:43:23 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-ORLite-Migrate/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20718

Modified Files:
	.cvsignore perl-ORLite-Migrate.spec sources 
Added Files:
	perl-ORLite-Migrate-req.patch 
Log Message:
* Thu Jun 18 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.03-1
- update


perl-ORLite-Migrate-req.patch:

--- NEW FILE perl-ORLite-Migrate-req.patch ---
2009-06-10  Stepan Kasal  <skasal at redhat.com>

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 };


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ORLite-Migrate/F-11/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	23 Jan 2009 09:38:48 -0000	1.2
+++ .cvsignore	18 Jun 2009 13:42:49 -0000	1.3
@@ -1 +1 @@
-ORLite-Migrate-0.01.tar.gz
+ORLite-Migrate-0.03.tar.gz


Index: perl-ORLite-Migrate.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ORLite-Migrate/F-11/perl-ORLite-Migrate.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- perl-ORLite-Migrate.spec	26 Feb 2009 23:37:45 -0000	1.2
+++ perl-ORLite-Migrate.spec	18 Jun 2009 13:42:49 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           perl-ORLite-Migrate
-Version:        0.01
-Release:        2%{?dist}
+Version:        0.03
+Release:        1%{?dist}
 Summary:        Light weight SQLite-specific schema migration
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,24 +8,28 @@ URL:            http://search.cpan.org/d
 Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/ORLite-Migrate-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.0
-BuildRequires:  perl(DBD::SQLite) >= 1.14
+# for File::Spec >= 3.2701, see below
+# ugly workaroung: for F-11 is it from 69
+BuildRequires:	perl-devel >= 4:5.10.0-69
+BuildRequires:  perl(DBD::SQLite) >= 1.21
 BuildRequires:  perl(DBI) >= 1.58
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::pushd)
 BuildRequires:  perl(IPC::Run3)
-BuildRequires:  perl(ORLite) >= 1.16
-BuildRequires:  perl(Params::Util) >= 0.33
+BuildRequires:  perl(ORLite) >= 1.20
+BuildRequires:  perl(Params::Util) >= 0.37
 BuildRequires:  perl(Probe::Perl)
 BuildRequires:  perl(Test::More) >= 0.47
-Requires:       perl(DBD::SQLite) >= 1.14
-Requires:       perl(DBI) >= 1.58
+# The following three requires are not detected automatically:
 Requires:       perl(File::pushd)
 Requires:       perl(IPC::Run3)
-Requires:       perl(ORLite) >= 1.16
-Requires:       perl(Params::Util) >= 0.33
 Requires:       perl(Probe::Perl)
+
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# File::Spec >= 3.2701 is required, but rpm does not understand that...
+# a) ... 3.30 is enough,
+Patch0:         perl-ORLite-Migrate-req.patch
+# b) ... but 3.2501 is not enough
+Requires:	perl >= 4:5.10.0-69
 
 %description
 THIS CODE IS EXPERIMENTAL AND SUBJECT TO CHANGE WITHOUT NOTICE
@@ -36,6 +40,7 @@ weight single class Database Schema Migr
 
 %prep
 %setup -q -n ORLite-Migrate-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +57,8 @@ find $RPM_BUILD_ROOT -depth -type d -exe
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
+# this is blocked by old File::Spec in perl core package
+#make test
 make test
 
 %clean
@@ -64,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jun 18 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.03-1
+- update
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.01-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ORLite-Migrate/F-11/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	23 Jan 2009 09:38:49 -0000	1.2
+++ sources	18 Jun 2009 13:42:49 -0000	1.3
@@ -1 +1 @@
-eec5d9e315cfb7e90658ef10f6685281  ORLite-Migrate-0.01.tar.gz
+2f0acdbcb7c6afc717d7e7e956ccbdfd  ORLite-Migrate-0.03.tar.gz




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