rpms/perl-DateTime-Format-Pg/F-9 import.log, NONE, 1.1 perl-DateTime-Format-Pg.spec, NONE, 1.1 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Wed Sep 3 23:00:38 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-DateTime-Format-Pg/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25075

Modified Files:
	sources 
Added Files:
	import.log perl-DateTime-Format-Pg.spec 
Log Message:
pseudo-branch of perl-DateTime-Format-Pg to F-9


--- NEW FILE import.log ---
perl-DateTime-Format-Pg-0_16002-1_fc9:HEAD:perl-DateTime-Format-Pg-0.16002-1.fc9.src.rpm:1220482480


--- NEW FILE perl-DateTime-Format-Pg.spec ---
Name:           perl-DateTime-Format-Pg
Version:        0.16002
Release:        2%{?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://www.cpan.org/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))

BuildRequires:  perl(DateTime)                  >= 0.10
BuildRequires:  perl(DateTime::Format::Builder) >= 0.72
BuildRequires:  perl(DateTime::TimeZone)        >= 0.05
BuildRequires:  perl(ExtUtils::MakeMaker)
# tests
BuildRequires:  perl(Test::More)
# optional tests
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

%description
This module understands the formats used by PostgreSQL for its DATE, TIME,
TIMESTAMP, and INTERVAL data types. It can be used to parse these formats
in order to create DateTime or DateTime::Duration objects, and it can take
a DateTime or DateTime::Duration object and produce a string representing
it in a format accepted by PostgreSQL.

%prep
%setup -q -n DateTime-Format-Pg-%{version}

cat README | iconv -f iso8859-1 -t utf8 > foo ; mv foo README

perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

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 \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Sep 03 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.16002-2
- bump

* Sun Aug 24 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.16002-1
- Specfile autogenerated by cpanspec 1.77.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Format-Pg/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Sep 2008 20:35:09 -0000	1.1
+++ sources	3 Sep 2008 23:00:08 -0000	1.2
@@ -0,0 +1 @@
+381bb4e599cae0da2c0c8a48d4b0e759  DateTime-Format-Pg-0.16002.tar.gz




More information about the Fedora-perl-devel-list mailing list