2.17.1 version bump
This commit is contained in:
parent
6b99cd7980
commit
7141b46c9c
@ -1 +1 @@
|
||||
DBD-Pg-2.15.1.tar.gz
|
||||
DBD-Pg-2.17.1.tar.gz
|
||||
|
||||
@ -1,10 +1,13 @@
|
||||
# Enable %%check
|
||||
%define use_test 1
|
||||
|
||||
Name: perl-DBD-Pg
|
||||
Version: 2.15.1
|
||||
Release: 3%{?dist}
|
||||
Version: 2.17.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A PostgreSQL interface for perl
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
License: GPLv2+ or Artistic
|
||||
URL: http://search.cpan.org/dist/DBD-Pg/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -12,8 +15,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# Prevent bug #443495
|
||||
BuildRequires: perl(DBI) >= 1.607
|
||||
|
||||
BuildRequires: postgresql-devel >= 7.2
|
||||
BuildRequires: postgresql-devel >= 7.4
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
%if %{use_test}
|
||||
BuildRequires: perl(Test::Simple), postgresql-server
|
||||
%endif
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
# Missed by the find provides script:
|
||||
@ -39,12 +46,17 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%if %{use_test}
|
||||
%check
|
||||
# Full test coverage requires a live PostgreSQL database (see the README file)
|
||||
#export DBI_DSN=dbi:Pg:dbname=<database>
|
||||
#export DBI_USER=<username>
|
||||
#export DBI_PASS=<password>
|
||||
#make test
|
||||
# If variables undefined, package test will create it's own database. All
|
||||
# tests pass then if LC_ALL=C. Otherwise
|
||||
# <https://rt.cpan.org/Public/Bug/Display.html?id=56705> appears.
|
||||
LC_ALL=C make test
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -60,6 +72,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 27 2010 Petr Pisar <ppisar@redhat.com> - 2.17.1-1
|
||||
- upstream released 2.17.1
|
||||
- GPL+ license corrected to GPLv2+
|
||||
- enable and run %%check in C locale
|
||||
|
||||
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 2.15.1-3
|
||||
- drop patch that was upstreamed long ago (<=2.8.7)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user