Skip to content

Commit cef6b4b

Browse files
authored
Upgrade: perl-File-Find-Rule-Perl version to 1.16 (#12757)
1 parent 75c08e0 commit cef6b4b

5 files changed

Lines changed: 45 additions & 26 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 19b0e905fa82b6972cb10e7382839251c31c9c95 Mon Sep 17 00:00:00 2001
2+
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
3+
Date: Mon, 4 Apr 2022 12:48:28 +0200
4+
Subject: [PATCH] File-Find-Rule-Perl-1.16-fedora
5+
6+
---
7+
t/03_no_index.t | 2 ++
8+
1 file changed, 2 insertions(+)
9+
10+
diff --git a/t/03_no_index.t b/t/03_no_index.t
11+
index b88f7d2..e31da26 100644
12+
--- a/t/03_no_index.t
13+
+++ b/t/03_no_index.t
14+
@@ -39,6 +39,8 @@ SCOPE: {
15+
Makefile.old
16+
};
17+
my @files = sort grep {
18+
+ ! /^(debug|elf).*\.list/
19+
+ and
20+
! /^debian\b/
21+
and
22+
! /(?:^|\W)\.\w/
23+
--
24+
2.35.1
25+

SPECS-EXTENDED/perl-File-Find-Rule-Perl/File-Find-Rule-Perl-1.15-fedora.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"perl-File-Find-Rule-Perl-1.15.tar.gz": "9a48433f86e08ce18e03526e2982de52162eb909d19735460f07eefcaf463ea6"
3+
"File-Find-Rule-Perl-1.16.tar.gz": "ae1886050d9ca21223c073e2870abdc80dc30e3f55289a11c37da3820a8321ff"
44
}
55
}

SPECS-EXTENDED/perl-File-Find-Rule-Perl/perl-File-Find-Rule-Perl.spec

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
Name: perl-File-Find-Rule-Perl
2-
Version: 1.15
3-
Release: 17%{?dist}
2+
Version: 1.16
3+
Release: 1%{?dist}
44
Summary: Common rules for searching for Perl things
5-
License: GPL+ or Artistic
5+
License: GPL-1.0-or-later OR Artistic-1.0-Perl
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
88
URL: https://metacpan.org/release/File-Find-Rule-Perl
9-
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz#/perl-File-Find-Rule-Perl-%{version}.tar.gz
9+
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz
1010
# Filter out the files rpm generates in sourcedir.
11-
Patch0: File-Find-Rule-Perl-1.15-fedora.patch
12-
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
11+
Patch0: 0001-File-Find-Rule-Perl-1.16-fedora.patch
1312
BuildArch: noarch
13+
14+
BuildRequires: %{__make}
1415
BuildRequires: perl-generators
1516
BuildRequires: perl(constant)
1617
BuildRequires: perl(lib)
@@ -29,25 +30,29 @@ Common rules for searching for Perl things.
2930

3031
%prep
3132
%setup -q -n File-Find-Rule-Perl-%{version}
32-
%patch 0 -p1
33+
%patch -P0 -p1
3334

3435
%build
35-
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
36-
make %{?_smp_mflags}
36+
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
37+
%{make_build}
3738

3839
%install
39-
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
40-
chmod -R u+w $RPM_BUILD_ROOT/*
40+
%{make_install} DESTDIR="$RPM_BUILD_ROOT"
41+
%{_fixperms} "$RPM_BUILD_ROOT"/*
4142

4243
%check
43-
make test
44+
%{__make} test
4445

4546
%files
4647
%doc Changes
4748
%{perl_vendorlib}/File
4849
%{_mandir}/man3/*
4950

5051
%changelog
52+
* Mon Feb 27 2025 Sumit Jena <v-sumitjena@microsoft.com> - 1.16-1
53+
- Update to version 1.16
54+
- License verified
55+
5156
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.15-17
5257
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
5358

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17573,8 +17573,8 @@
1757317573
"type": "other",
1757417574
"other": {
1757517575
"name": "perl-File-Find-Rule-Perl",
17576-
"version": "1.15",
17577-
"downloadUrl": "https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-1.15.tar.gz"
17576+
"version": "1.16",
17577+
"downloadUrl": "https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-1.16.tar.gz"
1757817578
}
1757917579
}
1758017580
},

0 commit comments

Comments
 (0)