File cpanspec.yml of Package perl-DBD-Pg.34911
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
preamble: |-
BuildRequires: openssl-devel
BuildRequires: postgresql-devel >= 8.1
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
BuildRequires: postgresql-server-devel
%endif
# For the Testsuite
BuildRequires: postgresql-server
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
# t/09arrays.t had a non-zero exit status on ppc64. Running with
# HARNESS_VERBOSE=1 apparently fixes it
# [ 56s] t/09arrays.t ...........
# ...
# [ 56s] All 203 subtests passed
# [ 59s] -------------------
# [ 59s] t/09arrays.t (Wstat: 11 Tests: 203 Failed: 0)
# [ 59s] Non-zero wait status: 11
# See also https://rt.cpan.org/Ticket/Display.html?id=132799
custom_test: |-
HARNESS_TIMER=1 HARNESS_VERBOSE=1 make test
#startserver && make test
#ignore_requires: Bizarre::Module