From 2473ac331922c61568b2d2bdfdf7c9f58574cc88 Mon Sep 17 00:00:00 2001 From: misaka00251 Date: Fri, 5 May 2023 09:46:48 +0800 Subject: [PATCH] Fix EXTERN.h: No such file or directory --- perl-Test-Taint.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/perl-Test-Taint.spec b/perl-Test-Taint.spec index ccba094..040f59f 100644 --- a/perl-Test-Taint.spec +++ b/perl-Test-Taint.spec @@ -1,13 +1,15 @@ %global _empty_manifest_terminate_build 0 + Name: perl-Test-Taint Version: 1.08 -Release: 1 +Release: 2 Summary: Tools to test taintedness License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Taint/ Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) @@ -17,21 +19,26 @@ Requires: perl(Scalar::Util) Requires: perl(Test::Builder) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + %description Tainted data is data that comes from an unsafe source, such as the command line, or, in the case of web apps, any GET or POST transactions. Read the perlsec man page for details on why tainted data is bad, and how to untaint the data. + %package help -Summary : Tools to test taintedness +Summary: Tools to test taintedness Provides: perl-Test-Taint-doc + %description help Tainted data is data that comes from an unsafe source, such as the command line, or, in the case of web apps, any GET or POST transactions. Read the perlsec man page for details on why tainted data is bad, and how to untaint the data. + %prep %setup -q -n Test-Taint-%{version} + %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -65,6 +72,7 @@ if [ -d usr/lib ];then fi popd mv %{buildroot}/filelist.lst . + %check make test @@ -76,9 +84,13 @@ rm -rf $RPM_BUILD_ROOT %doc Changes META.json %{perl_vendorarch}/auto/* %{perl_vendorarch}/Test* + %files help %{_mandir}/* %changelog -* Wed Jun 17 2020 Perl_Bot 1.08-1 +* Fri May 05 2023 misaka00251 - 1.08-2 +- Fix EXTERN.h: No such file or directory + +* Wed Jun 17 2020 Perl_Bot - 1.08-1 - Specfile autogenerated by Perl_Bot