[perl-DateTime-Format-DBI] 0.041 bump

Petr Šabata psabata at fedoraproject.org
Thu Oct 31 06:49:52 UTC 2013


commit 6f6050eecfbed9396b44530d87644b635f92f112
Author: Petr Šabata <contyk at redhat.com>
Date:   Thu Oct 31 15:49:59 2013 +0900

    0.041 bump

 .gitignore                    |    1 +
 perl-DateTime-Format-DBI.spec |   32 ++++++++++++++++++--------------
 sources                       |    2 +-
 3 files changed, 20 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5307888..7584e81 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 DateTime-Format-DBI-0.032.tar.gz
 /DateTime-Format-DBI-0.040.tar.gz
+/DateTime-Format-DBI-0.041.tar.gz
diff --git a/perl-DateTime-Format-DBI.spec b/perl-DateTime-Format-DBI.spec
index 1a6d375..4200e74 100644
--- a/perl-DateTime-Format-DBI.spec
+++ b/perl-DateTime-Format-DBI.spec
@@ -1,22 +1,26 @@
 Name:           perl-DateTime-Format-DBI
-Version:        0.040
-Release:        8%{?dist}
+Version:        0.041
+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
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+BuildRequires:  iconv
+BuildRequires:  perl
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(DateTime) >= 0.1
 BuildRequires:  perl(DateTime::Format::SQLite)
 BuildRequires:  perl(DBD::SQLite)
 BuildRequires:  perl(DBI) >= 1.21
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::Database)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::NoWarnings)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 # require the dbd-specific datetime formats, so this "just works" the way we
 # expect it to.
 Requires:       perl(DateTime::Format::MySQL)
@@ -33,31 +37,31 @@ perl-DateTime-MySQL, perl-DateTime-Oracle, perl-DateTime-DB2, etc.
 
 %prep
 %setup -q -n DateTime-Format-DBI-%{version}
-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
-    mv foo $i
-done
+iconv -f ISO-8859-1 -t UTF-8 LICENSE > LICENSE.utf && \
+touch -r LICENSE LICENSE.utf && \
+mv -f LICENSE.utf LICENSE
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-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 \;
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes LICENSE README t/
+%doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Oct 31 2013 Petr Šabata <contyk at redhat.com> - 0.041-1
+- 0.041 bump
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.040-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index f9e81ea..d93bcca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5f18a034988a37035bdf0c99e583f54a  DateTime-Format-DBI-0.040.tar.gz
+135955e52b3a3083ec3b4e0d7bd4de5d  DateTime-Format-DBI-0.041.tar.gz



More information about the perl-devel mailing list