rpms/perl-DateTime-Format-Excel/devel perl-DateTime-Format-Excel-0.2901-versioning.patch, NONE, 1.1 perl-DateTime-Format-Excel.spec, 1.2, 1.3

Robert Scheck robert at fedoraproject.org
Fri Jul 24 09:55:30 UTC 2009


Author: robert

Update of /cvs/pkgs/rpms/perl-DateTime-Format-Excel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7055

Modified Files:
	perl-DateTime-Format-Excel.spec 
Added Files:
	perl-DateTime-Format-Excel-0.2901-versioning.patch 
Log Message:
Fixed broken upstream build requirement for perl(DateTime), as per RPM versioning 0.1705 > 0.50, but 0.50 is newer than 0.1705


perl-DateTime-Format-Excel-0.2901-versioning.patch:
 Build.PL                     |    2 +-
 META.yml                     |    2 +-
 lib/DateTime/Format/Excel.pm |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE perl-DateTime-Format-Excel-0.2901-versioning.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> for perl(DateTime::Format::Excel) <= 0.2901, which fixes the
broken upstream build requirement for perl(DateTime), as per RPM versioning 0.1705 > 0.50, but according to CPAN,
perl(DateTime) 0.50 is newer than 0.1705.

--- DateTime-Format-Excel-0.2901/Build.PL					2004-01-26 20:04:34.000000000 +0100
+++ DateTime-Format-Excel-0.2901/Build.PL.versioning				2009-07-24 11:45:53.000000000 +0200
@@ -5,7 +5,7 @@
 Module::Build->new( module_name => 'DateTime::Format::Excel',
                     author      => 'Dave Rolsky <autarch at urth.org>',
                     license     => 'perl',
-                    requires    => { 'DateTime' => 0.1705,
+                    requires    => { 'DateTime' => 0.18,
                                      'Test::More' => '0.47',
                                    },
 		    sign        => 1,
--- DateTime-Format-Excel-0.2901/lib/DateTime/Format/Excel.pm			2004-01-26 20:04:02.000000000 +0100
+++ DateTime-Format-Excel-0.2901/lib/DateTime/Format/Excel.pm.versioning	2009-07-24 11:45:59.000000000 +0200
@@ -10,7 +10,7 @@
 use strict;
 use 5.005;
 use Carp;
-use DateTime 0.1705;
+use DateTime 0.18;
 use vars qw( $VERSION );
 
 $VERSION = '0.2901';
--- DateTime-Format-Excel-0.2901/META.yml					2004-01-26 20:06:41.000000000 +0100
+++ DateTime-Format-Excel-0.2901/META.yml.versioning				2009-07-24 11:46:14.000000000 +0200
@@ -4,7 +4,7 @@
 license: perl
 distribution_type: module
 requires:
-  DateTime: 0.1705
+  DateTime: 0.18
   Test::More: 0.47
 recommends: {}
 build_requires: {}


Index: perl-DateTime-Format-Excel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DateTime-Format-Excel/devel/perl-DateTime-Format-Excel.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- perl-DateTime-Format-Excel.spec	26 Feb 2009 14:51:18 -0000	1.2
+++ perl-DateTime-Format-Excel.spec	24 Jul 2009 09:55:30 -0000	1.3
@@ -1,17 +1,18 @@
 Name:       perl-DateTime-Format-Excel 
 Version:    0.2901 
-Release:    2%{?dist}
+Release:    3%{?dist}
 # lib/DateTime/Format/Excel.pm -> GPL+ or Artistic
 License:    GPL+ or Artistic 
 Group:      Development/Libraries
 Summary:    Convert between DateTime and Excel dates 
 Source:     http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Excel-%{version}.tar.gz 
+Patch0:     perl-DateTime-Format-Excel-0.2901-versioning.patch
 Url:        http://search.cpan.org/dist/DateTime-Format-Excel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
 
-BuildRequires: perl(DateTime) >= 0.1705
+BuildRequires: perl(DateTime) >= 0.18
 BuildRequires: perl(Module::Build::Compat)
 BuildRequires: perl(Test::More) >= 0.47
 BuildRequires: perl(Test::Pod)
@@ -28,6 +29,7 @@ manpage and the Spreadsheet::ParseExcel 
 
 %prep
 %setup -q -n DateTime-Format-Excel-%{version}
+%patch0 -p1 -b .versioning
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -57,6 +59,10 @@ rm -rf %{buildroot} 
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Jul 24 2009 Robert Scheck <robert at fedoraproject.org> 0.2901-3
+- Fixed broken upstream build requirement for perl(DateTime), as
+  per RPM versioning 0.1705 > 0.50, but 0.50 is newer than 0.1705
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2901-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




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