8
0

2 Commits

3 changed files with 12 additions and 3 deletions

View File

@@ -22,7 +22,8 @@ summary: Perl YAML loader and dumper
#license: SUSE-NonFree #license: SUSE-NonFree
#skip_noarch: 1 #skip_noarch: 1
custom_build: |- custom_build: |-
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -DI_STDLIB -DI_STRING" # 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} make %{?_smp_mflags}
#custom_test: |- #custom_test: |-
#startserver && make test #startserver && make test

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 29 12:36:00 UTC 2025 - pgajdos@suse.com
- -std=gnu11 to build with gcc15
- modified sources
% cpanspec.yml
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 27 03:09:42 UTC 2020 - Tina Müller <timueller+perl@suse.de> Tue Oct 27 03:09:42 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-YAML-Syck # spec file for package perl-YAML-Syck
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -46,7 +46,8 @@ backward-compatibility with 'YAML.pm'.
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -DI_STDLIB -DI_STRING" # 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} make %{?_smp_mflags}
%check %check