[perl-DateTime-Format-DBI] update to 0.040
Iain Arnell
iarnell at fedoraproject.org
Mon Mar 14 04:55:33 UTC 2011
commit 139cda69f9da9889bd1047161e3f46057a48ada0
Author: Iain Arnell <iarnell at gmail.com>
Date: Mon Mar 14 05:55:22 2011 +0100
update to 0.040
.gitignore | 1 +
perl-DateTime-Format-DBI.spec | 23 ++++++++++-------------
sources | 2 +-
3 files changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4ee18de..5307888 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
DateTime-Format-DBI-0.032.tar.gz
+/DateTime-Format-DBI-0.040.tar.gz
diff --git a/perl-DateTime-Format-DBI.spec b/perl-DateTime-Format-DBI.spec
index ca93f0f..0a65829 100644
--- a/perl-DateTime-Format-DBI.spec
+++ b/perl-DateTime-Format-DBI.spec
@@ -1,12 +1,11 @@
Name: perl-DateTime-Format-DBI
-Version: 0.032
-Release: 7%{?dist}
+Version: 0.040
+Release: 1%{?dist}
Summary: Find a parser class for a database connection
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DateTime-Format-DBI/
Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/DateTime-Format-DBI-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -14,11 +13,10 @@ BuildRequires: perl(DateTime) >= 0.1
BuildRequires: perl(DBI) >= 1.21
BuildRequires: perl(ExtUtils::MakeMaker)
# test
+BuildRequires: perl(DateTime::Format::SQLite)
+BuildRequires: perl(DBD::SQLite)
BuildRequires: perl(Test::More)
-
-# see BZ#456357; until then...
-AutoProv: no
-Provides: perl(DateTime::Format::DBI) = %{version}
+BuildRequires: perl(Test::NoWarnings)
# require the dbd-specific datetime formats, so this "just works" the way we
# expect it to.
@@ -37,7 +35,7 @@ perl-DateTime-MySQL, perl-DateTime-Oracle, perl-DateTime-DB2, etc.
%prep
%setup -q -n DateTime-Format-DBI-%{version}
-for i in README lib/DateTime/Format/DBI.pm ; do
+for i in LICENSE README lib/DateTime/Format/DBI.pm ; do
# correct UTF-8 wonkiness
cat $i | iconv -f ISO-8859-1 -t UTF-8 > foo
@@ -49,8 +47,6 @@ done
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 +57,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 +64,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
+* Mon Mar 14 2011 Iain Arnell <iarnell at gmail.com> 0.040-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.032-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index feb9b2b..f9e81ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f9afc049166a72da90d32337ed167c0d DateTime-Format-DBI-0.032.tar.gz
+5f18a034988a37035bdf0c99e583f54a DateTime-Format-DBI-0.040.tar.gz
More information about the scm-commits
mailing list