forked from pool/perl-CommonMark
- build with -std=gnu11 to fix build with gcc15 - modified sources % cpanspec.yml OBS-URL: https://build.opensuse.org/request/show/1281137 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CommonMark?expand=0&rev=6
31 lines
765 B
YAML
31 lines
765 B
YAML
---
|
|
#description_paragraphs: 3
|
|
#description: |-
|
|
# override description from CPAN
|
|
#no_testing: broken upstream
|
|
#sources:
|
|
# - source1
|
|
# - source2
|
|
#patches:
|
|
# foo.patch: -p1
|
|
# bar.patch:
|
|
preamble: |-
|
|
BuildRequires: cmark-devel >= 0.28.3
|
|
Requires: cmark >= 0.28.3
|
|
#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/Perl/perl5/issues/23192
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
|
|
%make_build
|
|
#custom_test: |-
|
|
#startserver && make test
|
|
#ignore_requires: Bizarre::Module
|