[perl-DateTime-Format-Excel] Upgrade to 0.31
by Robert Scheck
commit 04e50883d90f6109d92e243cab16c6862b944eb0
Author: Robert Scheck <robert(a)fedoraproject.org>
Date: Sun Jan 2 21:47:55 2011 +0100
Upgrade to 0.31
.gitignore | 2 +-
perl-DateTime-Format-Excel-0.2901-versioning.patch | 37 ----------
perl-DateTime-Format-Excel-0.31-versioning.patch | 48 ++++++++++++
perl-DateTime-Format-Excel.spec | 76 ++++++++++----------
sources | 2 +-
5 files changed, 88 insertions(+), 77 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10d3343..16c110a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-DateTime-Format-Excel-0.2901.tar.gz
+DateTime-Format-Excel-0.31.tar.gz
diff --git a/perl-DateTime-Format-Excel-0.31-versioning.patch b/perl-DateTime-Format-Excel-0.31-versioning.patch
new file mode 100644
index 0000000..2b0e0c3
--- /dev/null
+++ b/perl-DateTime-Format-Excel-0.31-versioning.patch
@@ -0,0 +1,48 @@
+Patch by Robert Scheck <robert(a)fedoraproject.org> for perl(DateTime::Format::Excel) >= 0.31, which fixes
+the upstream build requirement for perl(DateTime), as per RPM versioning 0.1705 > 0.50, but according to
+CPAN versioning 0.50 > 0.1705.
+
+--- DateTime-Format-Excel-0.31/Build.PL 2010-06-11 08:28:17.000000000 +0200
++++ DateTime-Format-Excel-0.31/Build.PL.versioning 2011-01-02 21:14:05.000000000 +0100
+@@ -5,7 +5,7 @@
+ Module::Build->new( module_name => 'DateTime::Format::Excel',
+ author => 'Achim Bursian <aburs(a)cpan.com>',
+ license => 'perl',
+- requires => { 'DateTime' => 0.1705,
++ requires => { 'DateTime' => 0.18,
+ 'Test::More' => '0.47',
+ },
+ create_makefile_pl => 'traditional',
+--- DateTime-Format-Excel-0.31/Makefile.PL 2010-10-20 11:54:57.000000000 +0200
++++ DateTime-Format-Excel-0.31/Makefile.PL.versioning 2011-01-02 21:14:57.000000000 +0100
+@@ -5,7 +5,7 @@
+ 'NAME' => 'DateTime::Format::Excel',
+ 'VERSION_FROM' => 'lib/DateTime/Format/Excel.pm',
+ 'PREREQ_PM' => {
+- 'DateTime' => '0.1705',
++ 'DateTime' => '0.18',
+ 'Test::More' => '0.47'
+ },
+ 'INSTALLDIRS' => 'site',
+--- DateTime-Format-Excel-0.31/lib/DateTime/Format/Excel.pm 2010-10-20 11:53:44.000000000 +0200
++++ DateTime-Format-Excel-0.31/lib/DateTime/Format/Excel.pm.versioning 2011-01-02 21:15:39.000000000 +0100
+@@ -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.31';
+--- DateTime-Format-Excel-0.31/META.yml 2010-10-20 11:54:58.000000000 +0200
++++ DateTime-Format-Excel-0.31/META.yml.versioning 2011-01-02 21:15:16.000000000 +0100
+@@ -16,7 +16,7 @@
+ file: lib/DateTime/Format/Excel.pm
+ version: 0.31
+ requires:
+- DateTime: 0.1705
++ DateTime: 0.18
+ Test::More: 0.47
+ resources:
+ license: http://dev.perl.org/licenses/
diff --git a/perl-DateTime-Format-Excel.spec b/perl-DateTime-Format-Excel.spec
index 5cc8e92..24bdbce 100644
--- a/perl-DateTime-Format-Excel.spec
+++ b/perl-DateTime-Format-Excel.spec
@@ -1,66 +1,67 @@
-Name: perl-DateTime-Format-Excel
-Version: 0.2901
-Release: 6%{?dist}
+%global pkgname DateTime-Format-Excel
+
+Summary: Convert between DateTime and Excel dates
+Name: perl-DateTime-Format-Excel
+Epoch: 1
+Version: 0.31
+Release: 1%{?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...
-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.18
-BuildRequires: perl(Module::Build::Compat)
-BuildRequires: perl(Test::More) >= 0.47
-BuildRequires: perl(Test::Pod)
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/%{pkgname}/
+Source: http://search.cpan.org/CPAN/authors/id/A/AB/ABURS/%{pkgname}-%{version}.t...
+Patch0: perl-DateTime-Format-Excel-0.31-versioning.patch
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(ExtUtils::MakeMaker), perl(DateTime) >= 0.18
+BuildRequires: perl(Test::More) >= 0.47, perl(Test::Pod) >= 0.95
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Excel uses a different system for its dates than most Unix programs.
-This module allows you to convert between a few of the Excel raw formats
+This module allows to convert between a few of the Excel raw formats
and DateTime objects, which can then be further converted via any of
-the other DateTime::Format::* modules, or just with DateTime's
-methods.If you happen to be dealing with dates between 1 Jan 1900 and 1
-Mar 1900 please read the notes on EPOCHS. If you're wanting to handle
-actual spreadsheet files, you may find the Spreadsheet::WriteExcel
-manpage and the Spreadsheet::ParseExcel manpage of use.
+the other DateTime::Format::* modules, or with DateTime's methods.
%prep
-%setup -q -n DateTime-Format-Excel-%{version}
-%patch0 -p1 -b .versioning
+%setup -q -n %{pkgname}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
-%{_fixperms} %{buildroot}/*
+# Remove any non-unix line breaks
+sed -e 's/\r//g' Changes > Changes.new
+touch -c -r Changes Changes.new
+mv -f Changes.new Changes
%check
-# nuke failing signature test
-rm t/00sig*
make test
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc Changes README COPYING AUTHORS Artistic CREDITS
-%{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%doc Artistic Changes COPYING README
+%{perl_vendorlib}/DateTime/
+%{_mandir}/man3/*.3pm*
%changelog
+* Sun Jan 02 2011 Robert Scheck <robert(a)fedoraproject.org> 1:0.31-1
+- Upgrade to 0.31
+
* Thu Dec 16 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.2901-6
-- 661697 rebuild for fixing problems with vendorach/lib
+- rebuild for fixing problems with vendorach/lib (#661697)
* Fri Apr 30 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.2901-5
- Mass rebuild with perl-5.12.0
@@ -81,4 +82,3 @@ rm -rf %{buildroot}
* Thu Feb 05 2009 Chris Weyl <cweyl(a)alumni.drew.edu> 0.2901-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
-
diff --git a/sources b/sources
index 21e7b67..c9509c4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d2f1934833c247b50088fd7999efee04 DateTime-Format-Excel-0.2901.tar.gz
+37ba8d11c5a8dc5c5c5208f5d6c77f33 DateTime-Format-Excel-0.31.tar.gz
13 years, 3 months
[perl-Data-Serializer/f13/master] (6 commits) ...update to 0.51
by Iain Arnell
Summary of changes:
988b564... initial import (*)
fc80b93... - fix modules' permissions (*)
90de704... dist-git conversion (*)
fcdb0c8... - 661697 rebuild for fixing problems with vendorach/lib (*)
75b0c0f... initial psuedo merge for dist-git setup (*)
f3fc622... update to 0.51 (*)
(*) This commit already existed in another branch; no separate mail sent
13 years, 3 months
[perl-Data-Serializer/f14/master] (6 commits) ...update to 0.51
by Iain Arnell
Summary of changes:
8be602b... Initialize branch F-13 for perl-Data-Serializer (*)
7c7173e... initial import (*)
ceb37d6... dist-git conversion (*)
fcdb0c8... - 661697 rebuild for fixing problems with vendorach/lib (*)
75b0c0f... initial psuedo merge for dist-git setup (*)
f3fc622... update to 0.51 (*)
(*) This commit already existed in another branch; no separate mail sent
13 years, 3 months
[perl-Data-Serializer: 5/5] update to 0.51
by Iain Arnell
commit f3fc6220984f01413512437ffc53b1eada0f601f
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Sun Jan 2 13:53:58 2011 +0100
update to 0.51
.gitignore | 1 +
perl-Data-Serializer.spec | 14 ++++++--------
sources | 2 +-
3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 39d5cec..1f22e3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Data-Serializer-0.49.tar.gz
+/Data-Serializer-0.51.tar.gz
diff --git a/perl-Data-Serializer.spec b/perl-Data-Serializer.spec
index 79b8b02..02f6cf3 100644
--- a/perl-Data-Serializer.spec
+++ b/perl-Data-Serializer.spec
@@ -1,12 +1,11 @@
Name: perl-Data-Serializer
-Version: 0.49
-Release: 3%{?dist}
+Version: 0.51
+Release: 1%{?dist}
Summary: Modules that serialize data structures
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-Serializer/
Source0: http://www.cpan.org/authors/id/N/NE/NEELY/Data-Serializer-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Compress::PPMd not available (broken on 64-bit)
#BuildRequires: perl(Compress::PPMd)
@@ -58,8 +57,6 @@ find lib -name \*.pm -print0 | xargs -0 chmod 0644
./Build
%install
-rm -rf $RPM_BUILD_ROOT
-
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -68,9 +65,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%doc Changes README
@@ -78,6 +72,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Sun Jan 02 2011 Iain Arnell <iarnell(a)gmail.com> 0.51-1
+- update to latest upstream
+- clean up spec for modern rpmbuild
+
* Thu Dec 16 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.49-3
- 661697 rebuild for fixing problems with vendorach/lib
diff --git a/sources b/sources
index 52ff2e4..9bfaaf2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-31a8c3f5ab573a840b4314d327bc534a Data-Serializer-0.49.tar.gz
+3fa61d61669263de7b98fce9a702b5c3 Data-Serializer-0.51.tar.gz
13 years, 3 months
[perl-Data-Serializer] (5 commits) ...update to 0.51
by Iain Arnell
Summary of changes:
8be602b... Initialize branch F-13 for perl-Data-Serializer (*)
7c7173e... initial import (*)
ceb37d6... dist-git conversion (*)
75b0c0f... initial psuedo merge for dist-git setup
f3fc622... update to 0.51
(*) This commit already existed in another branch; no separate mail sent
13 years, 3 months