From 39f67bb9e78ae5e941e26eb32f6afc007a0103ff Mon Sep 17 00:00:00 2001 From: misaka00251 Date: Fri, 28 Apr 2023 11:39:37 +0800 Subject: [PATCH] Fix EXTERN.h: No such file or directory --- perl-Ref-Util-XS.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/perl-Ref-Util-XS.spec b/perl-Ref-Util-XS.spec index ff10509..5a786ce 100644 --- a/perl-Ref-Util-XS.spec +++ b/perl-Ref-Util-XS.spec @@ -1,13 +1,16 @@ %global _empty_manifest_terminate_build 0 + Name: perl-Ref-Util-XS Version: 0.117 -Release: 1 +Release: 2 Summary: XS implementation for Ref::Util License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/Ref-Util-XS/ Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/Ref-Util-XS-%{version}.tar.gz + BuildRequires: perl >= 0:5.006 +BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(B::Concise) BuildRequires: perl(Exporter) >= 5.57 @@ -17,19 +20,24 @@ BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(XSLoader) Requires: perl(Exporter) >= 5.57 Requires: perl(XSLoader) + %description Ref::Util::XS is the XS implementation of Ref::Util, which provides several functions to help identify references in a more convenient way than the usual approach of examining the return value of ref. + %package help -Summary : XS implementation for Ref::Util +Summary: XS implementation for Ref::Util Provides: perl-Ref-Util-XS-doc + %description help Ref::Util::XS is the XS implementation of Ref::Util, which provides several functions to help identify references in a more convenient way than the usual approach of examining the return value of ref. + %prep %setup -q -n Ref-Util-XS-%{version} + %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -64,6 +72,7 @@ if [ -d usr/lib ];then fi popd mv %{buildroot}/filelist.lst . + %check || : make test @@ -75,9 +84,13 @@ rm -rf $RPM_BUILD_ROOT %doc Changes cpanfile dist.ini LICENSE META.json README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Ref* + %files help %{_mandir}/* %changelog -* Sun May 23 2021 Perl_Bot 0.117-1 +* Fri Apr 28 2023 misaka00251 - 0.117-2 +- Fix EXTERN.h: No such file or directory + +* Sun May 23 2021 Perl_Bot - 0.117-1 - Specfile autogenerated by Perl_Bot