|
|
|
@ -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@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@lists.fedoraproject.org> - 0.16004-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|