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.49
Release: alt0.M30.1
Summary: PostgreSQL database driver for the DBI module
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# last_insert_id will only work on DBI 1.43
# DBD-Pg-1.48/Changes: Bump minimum DBI version to 1.45
Requires: perl-DBI >= 1.45
BuildPreReq: perl-DBI-devel >= 1.45
# Added by buildreq2 on Mon May 22 2006
BuildRequires: perl-DBI-devel perl-Test-Pod postgresql8.0-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
%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.49
Release: alt0.M30.1
Summary: PostgreSQL database driver for the DBI module
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# last_insert_id will only work on DBI 1.43
# DBD-Pg-1.48/Changes: Bump minimum DBI version to 1.45
Requires: perl-DBI >= 1.45
BuildPreReq: perl-DBI-devel >= 1.45
# Added by buildreq2 on Mon May 22 2006
BuildRequires: perl-DBI-devel perl-Test-Pod postgresql8.0-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
%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