Fix EXTERN.h: No such file or directory

This commit is contained in:
misaka00251 2023-04-28 11:39:37 +08:00
parent 6c6bab025a
commit 39f67bb9e7
No known key found for this signature in database
GPG Key ID: 4AA100DC964EDE26

View File

@ -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 <Perl_Bot@openeuler.org> 0.117-1
* Fri Apr 28 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.117-2
- Fix EXTERN.h: No such file or directory
* Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> - 0.117-1
- Specfile autogenerated by Perl_Bot