File cpanspec.yml of Package perl-DBD-Pg

---
#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

# For DBDPG_TEMPDIR see https://github.com/bucardo/dbdpg/issues/78
# Error was: Unix-domain socket path
# "/home/abuild/rpmbuild/BUILD/perl-DBD-Pg-3.18.0-build/DBD-Pg-3.18.0/dbdpg_test_database/data/socket/.s.PGSQL.5442"
# is too long (maximum 107 bytes) at t/dbdpg_test_setup.pl line 608.
custom_test: |-
  DBDPG_TEMPDIR=/tmp HARNESS_TIMER=1 HARNESS_VERBOSE=1 make test
#startserver && make test
#ignore_requires: Bizarre::Module
openSUSE Build Service is sponsored by