|
|
b08584 |
Name: perl-DBD-Pg
|
|
|
b08584 |
Summary: A PostgreSQL interface for perl
|
|
|
b08584 |
Version: 2.19.3
|
|
|
b08584 |
Release: 2%{?dist}
|
|
|
b08584 |
License: GPLv2+ or Artistic
|
|
|
b08584 |
Group: Development/Libraries
|
|
|
b08584 |
Source0: http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-%{version}.tar.gz
|
|
|
b08584 |
URL: http://search.cpan.org/dist/DBD-Pg/
|
|
|
b08584 |
|
|
|
b08584 |
BuildRequires: perl(Carp)
|
|
|
b08584 |
BuildRequires: perl(constant)
|
|
|
b08584 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
b08584 |
BuildRequires: perl(File::Spec)
|
|
|
b08584 |
BuildRequires: perl(lib)
|
|
|
b08584 |
BuildRequires: postgresql-devel >= 7.4
|
|
|
b08584 |
# Run-time:
|
|
|
b08584 |
# Prevent bug #443495
|
|
|
b08584 |
BuildRequires: perl(DBI) >= 1.607
|
|
|
b08584 |
BuildRequires: perl(Exporter)
|
|
|
b08584 |
BuildRequires: perl(version)
|
|
|
b08584 |
# Tests:
|
|
|
b08584 |
%tests_req perl(Cwd)
|
|
|
b08584 |
%tests_req perl(Data::Dumper)
|
|
|
b08584 |
%tests_req perl(Test::More) >= 0.61
|
|
|
b08584 |
%tests_req perl(Test::Simple)
|
|
|
b08584 |
%tests_req perl(Time::HiRes)
|
|
|
b08584 |
%tests_req postgresql-server
|
|
|
b08584 |
# Optional tests:
|
|
|
b08584 |
%tests_req perl(Encode)
|
|
|
b08584 |
%tests_req perl(File::Temp)
|
|
|
b08584 |
# test sub-package requirements
|
|
|
b08584 |
%tests_subpackage_requires perl(Carp)
|
|
|
b08584 |
%tests_subpackage_requires perl(Data::Peek)
|
|
|
b08584 |
%tests_subpackage_requires perl(DBD::Pg)
|
|
|
b08584 |
%tests_subpackage_requires perl(DBI)
|
|
|
b08584 |
%tests_subpackage_requires perl(File::Spec)
|
|
|
b08584 |
%tests_subpackage_requires perl(lib)
|
|
|
b08584 |
%tests_subpackage_requires perl(YAML)
|
|
|
b08584 |
|
|
|
b08584 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
b08584 |
Requires: perl(DBI) >= 1.52
|
|
|
b08584 |
|
|
|
b08584 |
# Missed by the find provides script:
|
|
|
b08584 |
Provides: perl(DBD::Pg) = %{version}
|
|
|
b08584 |
|
|
|
b08584 |
%{?perl_default_filter}
|
|
|
b08584 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DBD::Pg\\)$
|
|
|
b08584 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DBI\\)$
|
|
|
b08584 |
%{?perl_default_subpackage_tests}
|
|
|
b08584 |
|
|
|
b08584 |
%description
|
|
|
b08584 |
DBD::Pg is a Perl module that works with the DBI module to provide access
|
|
|
b08584 |
to PostgreSQL databases.
|
|
|
b08584 |
|
|
|
b08584 |
%prep
|
|
|
b08584 |
%setup -q -n DBD-Pg-%{version}
|
|
|
b08584 |
# Move testme.tmp.pl into tests sub-package
|
|
|
b08584 |
mv testme.tmp.pl t/
|
|
|
b08584 |
sed -i -e '/^testme.tmp.pl$/ s/^/t\//' MANIFEST
|
|
|
b08584 |
sed -i -e '1 s/#!.*//' t/testme.tmp.pl
|
|
|
b08584 |
|
|
|
b08584 |
%build
|
|
|
b08584 |
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
b08584 |
make %{?_smp_mflags}
|
|
|
b08584 |
|
|
|
b08584 |
%install
|
|
|
b08584 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
b08584 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
b08584 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
b08584 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
b08584 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
b08584 |
|
|
|
b08584 |
%check
|
|
|
b08584 |
# Full test coverage requires a live PostgreSQL database (see the README file)
|
|
|
b08584 |
#export DBI_DSN=dbi:Pg:dbname=<database>
|
|
|
b08584 |
#export DBI_USER=<username>
|
|
|
b08584 |
#export DBI_PASS=<password>
|
|
|
b08584 |
# If variables undefined, package test will create it's own database.
|
|
|
b08584 |
make test
|
|
|
b08584 |
|
|
|
b08584 |
%files
|
|
|
b08584 |
%doc Changes README README.dev TODO
|
|
|
b08584 |
%{perl_vendorarch}/DBD/
|
|
|
b08584 |
%{perl_vendorarch}/auto/DBD/
|
|
|
b08584 |
%{perl_vendorarch}/Bundle/DBD/Pg.pm
|
|
|
b08584 |
%{_mandir}/man3/*.3*
|
|
|
b08584 |
|
|
|
b08584 |
|
|
|
b08584 |
%changelog
|
|
|
b08584 |
* Wed Aug 22 2012 Petr Pisar <ppisar@redhat.com> - 2.19.3-2
|
|
|
b08584 |
- Specify all dependencies
|
|
|
b08584 |
- Move testme.tmp.pl to tests sub-package
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Aug 22 2012 Petr Pisar <ppisar@redhat.com> - 2.19.3-1
|
|
|
b08584 |
- 2.19.3 bump
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 2.19.2-3.1
|
|
|
b08584 |
- Rebuild for perl 5.16
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19.2-3
|
|
|
b08584 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 2.19.2-2
|
|
|
b08584 |
- Perl 5.16 rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Mar 14 2012 Marcela Mašláňová <mmaslano@redhat.com> 2.19.2-1
|
|
|
b08584 |
- bump to 2.19.2
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18.0-4
|
|
|
b08584 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.18.0-3
|
|
|
b08584 |
- Perl mass rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Apr 4 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.18.0-2
|
|
|
b08584 |
- add requirement for test file
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Mar 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.18.0-1
|
|
|
b08584 |
- update to 2.18.0
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.2-2
|
|
|
b08584 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Nov 24 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.17.2-1
|
|
|
b08584 |
- update by Fedora::App::MaintainerTools 0.006
|
|
|
b08584 |
- updating to latest GA CPAN version (2.17.2)
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Sep 30 2010 Petr Sabata <psabata@redhat.com> - 2.17.1-3
|
|
|
b08584 |
- Fixing BuildRequires (perl-version, Test::More)
|
|
|
b08584 |
- Re-enabling tests
|
|
|
b08584 |
- Resolves: rhbz#633108
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.17.1-2
|
|
|
b08584 |
- Mass rebuild with perl-5.12.0
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Apr 27 2010 Petr Pisar <ppisar@redhat.com> - 2.17.1-1
|
|
|
b08584 |
- upstream released 2.17.1
|
|
|
b08584 |
- GPL+ license corrected to GPLv2+
|
|
|
b08584 |
- enable and run %%check in C locale
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 2.15.1-3
|
|
|
b08584 |
- drop patch that was upstreamed long ago (<=2.8.7)
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.15.1-2
|
|
|
b08584 |
- rebuild against perl 5.10.1
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Sep 24 2009 Stepan Kasal <skasal@redhat.com> - 2.15.1-1
|
|
|
b08584 |
- new upstream version
|
|
|
b08584 |
- add versioned provide (#525502)
|
|
|
b08584 |
|
|
|
b08584 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13.1-3
|
|
|
b08584 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Jun 10 2009 Stepan Kasal <skasal@redhat.com> - 2.13.1-2
|
|
|
b08584 |
- rebuild against perl-DBI-1.609
|
|
|
b08584 |
|
|
|
b08584 |
* Mon May 4 2009 Stepan Kasal <skasal@redhat.com> - 2.13.1-1
|
|
|
b08584 |
- new upstream release, also fixes #498899
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11.6-3
|
|
|
b08584 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Dec 5 2008 Stepan Kasal <skasal@redhat.com> - 2.11.6-2
|
|
|
b08584 |
- fix the source URL
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Dec 5 2008 Marcela Mašláňová <mmaslano@redhat.com> - 2.11.6-1
|
|
|
b08584 |
- update
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Oct 31 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.11.2-1
|
|
|
b08584 |
- update to 2.11.2
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Aug 29 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.10.0-1
|
|
|
b08584 |
- update to 2.10.0
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Aug 25 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.9.2-1
|
|
|
b08584 |
- update to 2.9.2
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Jul 28 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.8.7-1
|
|
|
b08584 |
- new version has Pg.pm twice in two locations
|
|
|
b08584 |
- update
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.49-9
|
|
|
b08584 |
- Rebuild for perl 5.10 (again)
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.49-8
|
|
|
b08584 |
- Autorebuild for GCC 4.3
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.49-7
|
|
|
b08584 |
- rebuild for new perl
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 1.49-6
|
|
|
b08584 |
- Apply changes from package review.
|
|
|
b08584 |
- Resolves: bz#226252
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.49-5.1
|
|
|
b08584 |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Aug 24 2007 Robin Norwood <rnorwood@redhat.com> - 1.49-5
|
|
|
b08584 |
- Fix license tag
|
|
|
b08584 |
- Add %%doc
|
|
|
b08584 |
- Remove explicit Provides: perl(DBD::Pg) = %%{version}
|
|
|
b08584 |
- Other cleanups
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 1.49-4
|
|
|
b08584 |
- Fix summary
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Dec 06 2006 Robin Norwood <rnorwood@redhat.com> - 1.49-3
|
|
|
b08584 |
- rebuild for new version of postgres.
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.49-2
|
|
|
b08584 |
- rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 1.49-1
|
|
|
b08584 |
- Upgrade to upstream version 1.49
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Apr 12 2006 Jason Vas Dias <jvdias@redhat.com> - 1.48-1
|
|
|
b08584 |
- Upgrade to upstream version 1.48
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Mar 22 2006 Jason Vas Dias <jvdias@redhat.com> - 1.47-1
|
|
|
b08584 |
- Upgrade to upstream version 1.47
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 1.45-1
|
|
|
b08584 |
- Upgrade to upstream version 1.45
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.43-2.2.2
|
|
|
b08584 |
- bump again for double-long bug on ppc(64)
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.43-2.2.1
|
|
|
b08584 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.43-2.2
|
|
|
b08584 |
- rebuild for new perl-5.8.8
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
b08584 |
- rebuilt for new gcc
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
b08584 |
- rebuilt for new gcj
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Nov 03 2005 Florian La Roche <laroche@redhat.com>
|
|
|
b08584 |
- make sure correct Provides: are generated for this module
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jun 28 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.43-1
|
|
|
b08584 |
- Update to 1.43 (corrects #156840).
|
|
|
b08584 |
|
|
|
b08584 |
* Thu May 19 2005 Warren Togami <wtogami@redhat.com> - 1.41-2
|
|
|
b08584 |
- Disable gcc optimization to workaround broken placeholders (#156840)
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Apr 13 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.41-1
|
|
|
b08584 |
- Update to 1.41.
|
|
|
b08584 |
- Updated the requirements versions.
|
|
|
b08584 |
- Specfile cleanup. (#154203)
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 1.40-2
|
|
|
b08584 |
- rebuild for new libpq soname
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Mar 31 2005 Warren Togami <wtogami@redhat.com> 1.40-1
|
|
|
b08584 |
- 1.40
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Oct 12 2004 Chip Turner <cturner@redhat.com> 1.32-1
|
|
|
b08584 |
- bugzilla: 127755, update to 1.32
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
b08584 |
- rebuilt
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
b08584 |
- rebuilt
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.31-2
|
|
|
b08584 |
- rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Dec 11 2003 Chip Turner <cturner@redhat.com> 1.31-1
|
|
|
b08584 |
- update to 1.31
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Jul 7 2003 Chip Turner <cturner@redhat.com> 1.22-1
|
|
|
b08584 |
- move to upstream 1.22
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
|
|
|
b08584 |
- version bump and rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Mon Jan 13 2003 Chip Turner <cturner@redhat.com>
|
|
|
b08584 |
- update to 1.21
|
|
|
b08584 |
|
|
|
b08584 |
* Sat Dec 14 2002 Chip Turner <cturner@redhat.com>
|
|
|
b08584 |
- don't use internal rpm dep generator
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
|
|
|
b08584 |
- rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Aug 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-5
|
|
|
b08584 |
- Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jun 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-4
|
|
|
b08584 |
- Rebuild, to fix #66304
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Jun 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-3
|
|
|
b08584 |
- Integrate with newer perl
|
|
|
b08584 |
|
|
|
b08584 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
b08584 |
- automated rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Tue May 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-1
|
|
|
b08584 |
- 1.13
|
|
|
b08584 |
|
|
|
b08584 |
* Fri Feb 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-8
|
|
|
b08584 |
- Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Feb 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-7
|
|
|
b08584 |
- Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Jan 31 2002 Tim Powers <timp@redhat.com>
|
|
|
b08584 |
- rebuild to solve more deps
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jan 29 2002 Bill Nottingham <notting@redhat.com> 1.01-5
|
|
|
b08584 |
- rebuild (dependencies)
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jan 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-4
|
|
|
b08584 |
- Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
b08584 |
- automated rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Tue Jan 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-2
|
|
|
b08584 |
- Rebuild
|
|
|
b08584 |
|
|
|
b08584 |
* Sun Jul 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
b08584 |
- 1.01 bugfix release ("bytea" coredumped with values outside 0...127)
|
|
|
b08584 |
- Add perl-DBI and perl to BuildRequires (they were just in Requires: previously)
|
|
|
b08584 |
|
|
|
b08584 |
* Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
b08584 |
- 1.00
|
|
|
b08584 |
- change group to Applications/Databases from Applications/CPAN
|
|
|
b08584 |
|
|
|
b08584 |
* Tue May 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
b08584 |
- 0.98, for postgresql-7.1
|
|
|
b08584 |
- add doc files
|
|
|
b08584 |
- cleanups
|
|
|
b08584 |
|
|
|
b08584 |
* Thu Nov 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
b08584 |
- First cut
|