11
0

2 Commits

3 changed files with 13 additions and 3 deletions

View File

@@ -21,8 +21,10 @@ preamble: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 29 11:27:33 UTC 2025 - pgajdos@suse.com
- build with -std=gnu11 to fix build with gcc15
- modified sources
% cpanspec.yml
-------------------------------------------------------------------
Tue Feb 11 18:28:54 UTC 2025 - Tina Müller <tina.mueller@suse.com>

View File

@@ -53,7 +53,8 @@ CommonMark::Parser provides a push parser interface.
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
# https://github.com/Perl/perl5/issues/23192
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
%make_build
%check