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 %global _empty_manifest_terminate_build 0
Name: perl-Ref-Util-XS Name: perl-Ref-Util-XS
Version: 0.117 Version: 0.117
Release: 1 Release: 2
Summary: XS implementation for Ref::Util Summary: XS implementation for Ref::Util
License: MIT License: MIT
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Ref-Util-XS/ 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 Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/Ref-Util-XS-%{version}.tar.gz
BuildRequires: perl >= 0:5.006 BuildRequires: perl >= 0:5.006
BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(B::Concise) BuildRequires: perl(B::Concise)
BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(Exporter) >= 5.57
@ -17,19 +20,24 @@ BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
Requires: perl(Exporter) >= 5.57 Requires: perl(Exporter) >= 5.57
Requires: perl(XSLoader) Requires: perl(XSLoader)
%description %description
Ref::Util::XS is the XS implementation of Ref::Util, which provides several 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 functions to help identify references in a more convenient way than the
usual approach of examining the return value of ref. usual approach of examining the return value of ref.
%package help %package help
Summary : XS implementation for Ref::Util Summary: XS implementation for Ref::Util
Provides: perl-Ref-Util-XS-doc Provides: perl-Ref-Util-XS-doc
%description help %description help
Ref::Util::XS is the XS implementation of Ref::Util, which provides several 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 functions to help identify references in a more convenient way than the
usual approach of examining the return value of ref. usual approach of examining the return value of ref.
%prep %prep
%setup -q -n Ref-Util-XS-%{version} %setup -q -n Ref-Util-XS-%{version}
%build %build
export PERL_MM_OPT="" export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@ -64,6 +72,7 @@ if [ -d usr/lib ];then
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
%check || : %check || :
make test make test
@ -75,9 +84,13 @@ rm -rf $RPM_BUILD_ROOT
%doc Changes cpanfile dist.ini LICENSE META.json README %doc Changes cpanfile dist.ini LICENSE META.json README
%{perl_vendorarch}/auto/* %{perl_vendorarch}/auto/*
%{perl_vendorarch}/Ref* %{perl_vendorarch}/Ref*
%files help %files help
%{_mandir}/* %{_mandir}/*
%changelog %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 - Specfile autogenerated by Perl_Bot