[perl-DateTime-Format-Pg] update to 0.16005

Iain Arnell iarnell at fedoraproject.org
Sun Mar 27 07:54:02 UTC 2011


commit 33354fb4b719d866bbb2aaf9e011e86b58262806
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Mar 27 09:42:28 2011 +0200

    update to 0.16005

 .gitignore                   |    1 +
 perl-DateTime-Format-Pg.spec |   22 ++++++----------------
 sources                      |    2 +-
 3 files changed, 8 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a6ee289..483f2c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 DateTime-Format-Pg-0.16004.tar.gz
+/DateTime-Format-Pg-0.16005.tar.gz
diff --git a/perl-DateTime-Format-Pg.spec b/perl-DateTime-Format-Pg.spec
index a21996b..ae1912b 100644
--- a/perl-DateTime-Format-Pg.spec
+++ b/perl-DateTime-Format-Pg.spec
@@ -1,12 +1,11 @@
 Name:           perl-DateTime-Format-Pg
-Version:        0.16004
-Release:        5%{?dist}
+Version:        0.16005
+Release:        1%{?dist}
 Summary:        Parse and format PostgreSQL dates and times
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime-Format-Pg/
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/DateTime-Format-Pg-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -21,14 +20,6 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 
-#Requires:       perl(DateTime) >= 0.10
-#Requires:       perl(DateTime::Format::Builder) >= 0.72
-#Requires:       perl(DateTime::TimeZone) >= 0.05
-
-### auto-added reqs!
-Requires:       perl(DateTime) >= 0.10
-Requires:       perl(DateTime::Format::Builder) >= 0.72
-Requires:       perl(DateTime::TimeZone) >= 0.05
 
 %description
 This module understands the formats used by PostgreSQL for its DATE, TIME,
@@ -49,8 +40,6 @@ perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -61,9 +50,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes LICENSE README t/
@@ -71,6 +57,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 27 2011 Iain Arnell <iarnell at gmail.com> 0.16005-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16004-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index f48cc00..ecc96c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-50421a0de9321bd3462f9e755878531e  DateTime-Format-Pg-0.16004.tar.gz
+1f676e450665948e5372e3306e9ea33c  DateTime-Format-Pg-0.16005.tar.gz



More information about the perl-devel mailing list