!5 Add ignore files to fix test fail
From: @ultra_planet Reviewed-by: @myeuler,@si-gui Signed-off-by: @myeuler
This commit is contained in:
commit
74470ceb9f
29
Add-ignore-files-to-fix-test-fail.patch
Normal file
29
Add-ignore-files-to-fix-test-fail.patch
Normal 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
|
||||||
|
|
||||||
@ -1,12 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: perl-File-Find-Rule-Perl
|
Name: perl-File-Find-Rule-Perl
|
||||||
Version: 1.15
|
Version: 1.15
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Common rules for searching for Perl things
|
Summary: Common rules for searching for Perl things
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/File-Find-Rule-Perl/
|
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
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: perl >= 0:5.006
|
BuildRequires: perl >= 0:5.006
|
||||||
BuildRequires: perl-generators
|
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
|
me that finding "perl files" requires a moderately complex
|
||||||
File::Find::Rule pattern.
|
File::Find::Rule pattern.
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n File-Find-Rule-Perl-%{version}
|
%autosetup -n File-Find-Rule-Perl-%{version} -p1
|
||||||
%build
|
%build
|
||||||
export PERL_MM_OPT=""
|
export PERL_MM_OPT=""
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
@ -80,5 +81,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/*
|
%{_mandir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 12 2020 weidong <weidong@uniontech.com> 1.15-1
|
||||||
- Initial release for OpenEuler
|
- Initial release for OpenEuler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user