forked from pool/perl-YAML-Syck
- -std=gnu11 to build with gcc15 - modified sources % cpanspec.yml OBS-URL: https://build.opensuse.org/request/show/1281146 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-Syck?expand=0&rev=51
31 lines
792 B
YAML
31 lines
792 B
YAML
---
|
|
summary: Perl YAML loader and dumper
|
|
#description_paragraphs: 3
|
|
#description: |-
|
|
# override description from CPAN
|
|
#no_testing: broken upstream
|
|
#sources:
|
|
# - source1
|
|
# - source2
|
|
#patches:
|
|
# 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_build: |-
|
|
# rm unused.files
|
|
#post_install: |-
|
|
# sed on %{name}.files
|
|
#license: SUSE-NonFree
|
|
#skip_noarch: 1
|
|
custom_build: |-
|
|
# https://github.com/cpan-authors/YAML-Syck/issues/61
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -DI_STDLIB -DI_STRING -std=gnu11"
|
|
make %{?_smp_mflags}
|
|
#custom_test: |-
|
|
#startserver && make test
|
|
#ignore_requires: Bizarre::Module
|