diff --git a/Add-ignore-files-to-fix-test-fail.patch b/Add-ignore-files-to-fix-test-fail.patch new file mode 100644 index 0000000000000000000000000000000000000000..8b97c51c384a677c17b4a36533271d86b0bb4143 --- /dev/null +++ b/Add-ignore-files-to-fix-test-fail.patch @@ -0,0 +1,29 @@ +From 69e99e644a0a3e5cb57b87f5be56e00cd00a252b Mon Sep 17 00:00:00 2001 +From: lingsheng +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 + diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec index e3e38c17d1828151761df98216e73a093f8bb590..71d45bf4d32c51c94fafe3791054e7636a3dfb17 100644 --- a/perl-File-Find-Rule-Perl.spec +++ b/perl-File-Find-Rule-Perl.spec @@ -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 1.15-2 +- Add ignore files to fix test fail + * Wed Aug 12 2020 weidong 1.15-1 - Initial release for OpenEuler