forked from pool/perl-Test-Strict
- Remove files generated by find-debuginfo before testing; it was breaking t/93-checkmanifest.t, detecting unexpected files OBS-URL: https://build.opensuse.org/request/show/1270967 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=38
28 lines
823 B
YAML
28 lines
823 B
YAML
---
|
|
#description_paragraphs: 3
|
|
#no_testing: broken upstream
|
|
#sources:
|
|
# - source1
|
|
# - source2
|
|
patches:
|
|
# test-perl-5.38.patch: -p1 PATCH-FIX-UPSTREAM test-perl-5.38.patch gh#manwar/Test-Strict#33 -- Don't simultaneously test -c and -v switches
|
|
# foo.patch: -p1
|
|
# bar.patch:
|
|
#preamble: |-
|
|
# BuildRequires: gcc-c++
|
|
#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_install: |-
|
|
# sed on %{name}.files
|
|
#license: SUSE-NonFree
|
|
#skip_noarch: 1
|
|
#custom_build: -
|
|
|
|
custom_test: |
|
|
# generated by find-debuginfo in current Tumblweeed, not sure why or how to disable that
|
|
rm -f debugfiles.list debuglinks.list debugsourcefiles.list debugsources.list elfbins.list
|
|
make test
|
|
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|