ALT Linux repositórios
S: | 3.17.0-alt1 |
5.0: | 2.13.1-alt1 |
4.1: | 2.13.1-alt0.M41.1 |
4.0: | 2.13.1-alt0.M41.1 |
3.0: | 1.43-alt2 |
+backports: | 1.49-alt0.M30.1 |
Group :: Desenvolvimento/Perl
RPM: perl-DBD-Pg
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define dist DBD-Pg
Name: perl-%dist
Version: 1.43
Release: alt2
Summary: PostgreSQL database driver for the DBI module
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# http://rt.cpan.org/NoAuth/Bug.html?id=13406
Patch0: %name-1.43-alt-dbdimp-is_high_bit_set.patch
# last_insert_id will only work on DBI 1.43
Requires: perl-DBI >= 1.43
BuildPreReq: perl-DBI-devel >= 1.43
# Added by buildreq2 on Fri Jun 24 2005
BuildRequires: perl-DBI-devel perl-Test-Pod postgresql-devel
%description
DBD::Pg is an interface driver for connecting the DBMS independent
Perl-API DBI to the PostgreSQL DBMS.
%prep
%setup -q -n %dist-%version
%patch0 -p1
%build
%ifdef _pgsql_testdb
# createdb -U postgres test
export DBI_DSN=dbi:Pg:dbname=%_pgsql_testdb DBI_USER=postgres
%endif
POSTGRES_INCLUDE=`pg_config --includedir`
POSTGRES_LIB=`pg_config --libdir`
export POSTGRES_INCLUDE POSTGRES_LIB
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes
%dir %perl_vendor_archlib/DBD
%perl_vendor_archlib/DBD/Pg.pm
%dir %perl_vendor_autolib/DBD
%dir %perl_vendor_autolib/DBD/Pg
%perl_vendor_autolib/DBD/Pg/Pg.so
%changelog
…
Todas as alterações você pod ver aqui
Name: perl-%dist
Version: 1.43
Release: alt2
Summary: PostgreSQL database driver for the DBI module
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# http://rt.cpan.org/NoAuth/Bug.html?id=13406
Patch0: %name-1.43-alt-dbdimp-is_high_bit_set.patch
# last_insert_id will only work on DBI 1.43
Requires: perl-DBI >= 1.43
BuildPreReq: perl-DBI-devel >= 1.43
# Added by buildreq2 on Fri Jun 24 2005
BuildRequires: perl-DBI-devel perl-Test-Pod postgresql-devel
%description
DBD::Pg is an interface driver for connecting the DBMS independent
Perl-API DBI to the PostgreSQL DBMS.
%prep
%setup -q -n %dist-%version
%patch0 -p1
%build
%ifdef _pgsql_testdb
# createdb -U postgres test
export DBI_DSN=dbi:Pg:dbname=%_pgsql_testdb DBI_USER=postgres
%endif
POSTGRES_INCLUDE=`pg_config --includedir`
POSTGRES_LIB=`pg_config --libdir`
export POSTGRES_INCLUDE POSTGRES_LIB
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes
%dir %perl_vendor_archlib/DBD
%perl_vendor_archlib/DBD/Pg.pm
%dir %perl_vendor_autolib/DBD
%dir %perl_vendor_autolib/DBD/Pg
%perl_vendor_autolib/DBD/Pg/Pg.so
%changelog
…
Todas as alterações você pod ver aqui