From b9c975dca9e303b4a231aa669a7a0de30a4afe1fc71756cd4e7c6cf11cd52993 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 2 Jun 2025 07:23:35 +0000 Subject: [PATCH] Accepting request 1281154 from home:pgajdos - -std=gnu11 to fix build with gcc15 - modified sources % cpanspec.yml OBS-URL: https://build.opensuse.org/request/show/1281154 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=43 --- cpanspec.yml | 6 ++++-- perl-Convert-UUlib.changes | 7 +++++++ perl-Convert-UUlib.spec | 3 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/cpanspec.yml b/cpanspec.yml index 29233d3..aaa9fa6 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -22,8 +22,10 @@ preamble: |- # sed on %{name}.files license: GPL-1.0-or-later #skip_noarch: 1 -#custom_build: |- -#./Build build flags=%{?_smp_mflags} --myflag +custom_build: |- + # https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2341023 + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11" + %make_build #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module diff --git a/perl-Convert-UUlib.changes b/perl-Convert-UUlib.changes index 3f1ee69..77817d4 100644 --- a/perl-Convert-UUlib.changes +++ b/perl-Convert-UUlib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 29 12:53:01 UTC 2025 - pgajdos@suse.com + +- -std=gnu11 to fix build with gcc15 +- modified sources + % cpanspec.yml + ------------------------------------------------------------------- Thu Feb 6 22:19:20 UTC 2025 - Tina Müller diff --git a/perl-Convert-UUlib.spec b/perl-Convert-UUlib.spec index 3b92aa5..887cd3f 100644 --- a/perl-Convert-UUlib.spec +++ b/perl-Convert-UUlib.spec @@ -63,7 +63,8 @@ this document and especially the non-trivial decoder program at the end. find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +# https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2341023 +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11" %make_build %check