Add ignore files to fix test fail

This commit is contained in:
lingsheng 2021-06-30 16:51:18 +08:00
parent 3d868e4539
commit b45e87ba0e
2 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,29 @@
From 69e99e644a0a3e5cb57b87f5be56e00cd00a252b Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Wed, 30 Jun 2021 16:30:00 +0800
Subject: [PATCH] Add ignore files to fix test fail
---
t/03_no_index.t | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/t/03_no_index.t b/t/03_no_index.t
index be0a3bb..c5cfae5 100644
--- a/t/03_no_index.t
+++ b/t/03_no_index.t
@@ -36,6 +36,12 @@ SCOPE: {
pm_to_blib
MYMETA.yml
MYMETA.json
+ debugfiles.list
+ debuglinks.list
+ debugsourcefiles.list
+ debugsources.list
+ elfbins.list
+ filelist.lst
};
my @files = sort grep {
! /^debian\b/
--
2.23.0

View File

@ -1,12 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: perl-File-Find-Rule-Perl
Version: 1.15
Release: 1
Release: 2
Summary: Common rules for searching for Perl things
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Find-Rule-Perl/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz
Patch0001: Add-ignore-files-to-fix-test-fail.patch
BuildArch: noarch
BuildRequires: perl >= 0:5.006
BuildRequires: perl-generators
@ -33,7 +34,7 @@ I write a lot of things that muck with Perl files. And it always annoyed
me that finding "perl files" requires a moderately complex
File::Find::Rule pattern.
%prep
%setup -q -n File-Find-Rule-Perl-%{version}
%autosetup -n File-Find-Rule-Perl-%{version} -p1
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -80,5 +81,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*
%changelog
* Wed Jun 30 2021 lingsheng <lingsheng@huawei.com> 1.15-2
- Add ignore files to fix test fail
* Wed Aug 12 2020 weidong <weidong@uniontech.com> 1.15-1
- Initial release for OpenEuler