Fix EXTERN.h: No such file or directory

This commit is contained in:
misaka00251 2023-04-28 15:35:10 +08:00
parent 39a54bcae6
commit 5e7d9ea5bd
No known key found for this signature in database
GPG Key ID: 4AA100DC964EDE26

View File

@ -1,30 +1,38 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: perl-PadWalker Name: perl-PadWalker
Version: 2.3 Version: 2.3
Release: 1 Release: 2
Summary: Play with other peoples' lexical variables Summary: Play with other peoples' lexical variables
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/PadWalker/ URL: http://search.cpan.org/dist/PadWalker/
Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-devel
BuildRequires: perl >= 0:5.008001 BuildRequires: perl >= 0:5.008001
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
PadWalker is a module which allows you to inspect (and even change!) PadWalker is a module which allows you to inspect (and even change!)
lexical variables in any subroutine which called you. It will only show lexical variables in any subroutine which called you. It will only show
those variables which are in scope at the point of the call. those variables which are in scope at the point of the call.
%package help %package help
Summary : Play with other peoples' lexical variables Summary: Play with other peoples' lexical variables
Provides: perl-PadWalker-doc Provides: perl-PadWalker-doc
%description help %description help
PadWalker is a module which allows you to inspect (and even change!) PadWalker is a module which allows you to inspect (and even change!)
lexical variables in any subroutine which called you. It will only show lexical variables in any subroutine which called you. It will only show
those variables which are in scope at the point of the call. those variables which are in scope at the point of the call.
%prep %prep
%setup -q -n PadWalker-%{version} %setup -q -n PadWalker-%{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"
@ -58,6 +66,7 @@ if [ -d usr/lib ];then
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
%check %check
make test make test
@ -69,9 +78,13 @@ rm -rf $RPM_BUILD_ROOT
%doc Changes META.json README %doc Changes META.json README
%{perl_vendorarch}/auto/* %{perl_vendorarch}/auto/*
%{perl_vendorarch}/PadWalker* %{perl_vendorarch}/PadWalker*
%files help %files help
%{_mandir}/* %{_mandir}/*
%changelog %changelog
* Thu Jun 11 2020 Perl_Bot <Perl_Bot@openeuler.org> 2.3-1 * Fri Apr 28 2023 misaka00251 <liuxin@iscas.ac.cn> - 2.3-2
- Fix EXTERN.h: No such file or directory
* Thu Jun 11 2020 Perl_Bot <Perl_Bot@openeuler.org> - 2.3-1
- Specfile autogenerated by Perl_Bot - Specfile autogenerated by Perl_Bot