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 _unpackaged_files_terminate_build 1
%define dist DBD-Pg
Name: perl-%dist
Version: 3.17.0
Release: alt1
Summary: PostgreSQL database driver for the DBI module
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/T/TU/TURNSTEP/%{dist}-%{version}.tar.gz
BuildRequires: postgresql-devel > 10 postgresql-server > 10
BuildRequires: net-tools perl-DBI-devel perl-Encode perl-Test-Warn perl(charnames.pm)
%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}
# on aarch64
[ %version = 3.8.0 ] && rm t/12placeholders.t
%build
POSTGRES_INCLUDE=`pg_config --includedir`
POSTGRES_LIB=`pg_config --libdir`
export POSTGRES_INCLUDE POSTGRES_LIB
%perl_vendor_build
%install
%perl_vendor_install
# should not be packaged
rm %buildroot%perl_vendor_archlib/Bundle/DBD/Pg.pm
%files
%doc Changes README README.dev README.win32 CONTRIBUTING.md
%perl_vendor_archlib/DBD
%perl_vendor_autolib/DBD
%changelog
…
Todas as alterações você pod ver aqui
%define dist DBD-Pg
Name: perl-%dist
Version: 3.17.0
Release: alt1
Summary: PostgreSQL database driver for the DBI module
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/T/TU/TURNSTEP/%{dist}-%{version}.tar.gz
BuildRequires: postgresql-devel > 10 postgresql-server > 10
BuildRequires: net-tools perl-DBI-devel perl-Encode perl-Test-Warn perl(charnames.pm)
%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}
# on aarch64
[ %version = 3.8.0 ] && rm t/12placeholders.t
%build
POSTGRES_INCLUDE=`pg_config --includedir`
POSTGRES_LIB=`pg_config --libdir`
export POSTGRES_INCLUDE POSTGRES_LIB
%perl_vendor_build
%install
%perl_vendor_install
# should not be packaged
rm %buildroot%perl_vendor_archlib/Bundle/DBD/Pg.pm
%files
%doc Changes README README.dev README.win32 CONTRIBUTING.md
%perl_vendor_archlib/DBD
%perl_vendor_autolib/DBD
%changelog
…
Todas as alterações você pod ver aqui