From 3010bac2596a0e137783a19ae1f062e244eea723 Mon Sep 17 00:00:00 2001 From: chenyanpanX Date: Fri, 15 Dec 2023 02:05:01 +0000 Subject: [PATCH] Add BuildRequires perl-devel, for fixing build failed https://build.openeuler.openatom.cn/package/live_build_log/openEuler:Factory/perl-Time-Warp/standard_x86_64/x86_64 ``` [ 111s] gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.54\" -DXS_VERSION=\"0.54\" -fPIC "-I/usr/lib64/perl5/CORE" Warp.c [ 111s] Warp.xs:7:10: fatal error: EXTERN.h: No such file or directory [ 111s] 7 | #include "EXTERN.h" [ 111s] | ^~~~~~~~~~ [ 111s] compilation terminated. ``` Signed-off-by: chenyanpanX --- perl-Time-Warp.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Time-Warp.spec b/perl-Time-Warp.spec index adfae5e..6f7c803 100644 --- a/perl-Time-Warp.spec +++ b/perl-Time-Warp.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: perl-Time-Warp Version: 0.54 -Release: 1 +Release: 2 Summary: Control over the flow of time License: GPL+ or Artistic Group: Development/Libraries @@ -10,6 +10,8 @@ Source0: http://www.cpan.org/authors/id/M/MA/MANWAR/Time-Warp-%{version}. BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 1.00 +BuildRequires: perl-devel + Requires: perl(Test::More) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -74,5 +76,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/* %changelog +* Fri Dec 15 2023 ChenYanpan - 0.54-2 +- Add BuildRequires perl-devel, for fixing build failed + * Wed Jun 23 2021 Perl_Bot 0.54-1 - Specfile autogenerated by Perl_Bot -- Gitee