parent
28c5f3da45
commit
7e628d6645
|
@ -1 +1 @@
|
|||
/File-Find-Rule-Perl-1.15.tar.gz
|
||||
/File-Find-Rule-Perl-1.16.tar.gz
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
From 19b0e905fa82b6972cb10e7382839251c31c9c95 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
|
||||
Date: Mon, 4 Apr 2022 12:48:28 +0200
|
||||
Subject: [PATCH] File-Find-Rule-Perl-1.16-fedora
|
||||
|
||||
---
|
||||
t/03_no_index.t | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/t/03_no_index.t b/t/03_no_index.t
|
||||
index b88f7d2..e31da26 100644
|
||||
--- a/t/03_no_index.t
|
||||
+++ b/t/03_no_index.t
|
||||
@@ -39,6 +39,8 @@ SCOPE: {
|
||||
Makefile.old
|
||||
};
|
||||
my @files = sort grep {
|
||||
+ ! /^(debug|elf).*\.list/
|
||||
+ and
|
||||
! /^debian\b/
|
||||
and
|
||||
! /(?:^|\W)\.\w/
|
||||
--
|
||||
2.35.1
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- File-Find-Rule-Perl-1.15.orig/t/03_no_index.t 2015-04-05 22:57:10.000000000 +0200
|
||||
+++ File-Find-Rule-Perl-1.15/t/03_no_index.t 2015-04-15 12:39:45.612810084 +0200
|
||||
@@ -38,6 +38,8 @@
|
||||
MYMETA.json
|
||||
};
|
||||
my @files = sort grep {
|
||||
+ ! /^(debug|elf).*\.list/
|
||||
+ and
|
||||
! /^debian\b/
|
||||
and
|
||||
! /(?:^|\W)\.\w/
|
|
@ -1,15 +1,16 @@
|
|||
Name: perl-File-Find-Rule-Perl
|
||||
Version: 1.15
|
||||
Release: 22%{?dist}
|
||||
Version: 1.16
|
||||
Release: 1%{?dist}
|
||||
Summary: Common rules for searching for Perl things
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/File-Find-Rule-Perl
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz
|
||||
# Filter out the files rpm generates in sourcedir.
|
||||
Patch0: File-Find-Rule-Perl-1.15-fedora.patch
|
||||
Patch0: 0001-File-Find-Rule-Perl-1.16-fedora.patch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
|
||||
BuildRequires: %{__make}
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(lib)
|
||||
|
@ -31,15 +32,15 @@ Common rules for searching for Perl things.
|
|||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
%{make_install} DESTDIR="$RPM_BUILD_ROOT"
|
||||
%{_fixperms} "$RPM_BUILD_ROOT"/*
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
|
@ -47,6 +48,11 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 04 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.16-1
|
||||
- Upstream update.
|
||||
- Rebase patch.
|
||||
- Modernize spec.
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue