RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/perl-Module-Manifest-Skip#2fbe4afceb2f4e8ff347ffe1711c96572aea1857
This commit is contained in:
parent
22bb8b53e7
commit
6cb4b85aef
5
.gitignore
vendored
5
.gitignore
vendored
@ -0,0 +1,5 @@
|
||||
/Module-Manifest-Skip-0.16.tar.gz
|
||||
/Module-Manifest-Skip-0.17.tar.gz
|
||||
/Module-Manifest-Skip-0.19.tar.gz
|
||||
/Module-Manifest-Skip-0.20.tar.gz
|
||||
/Module-Manifest-Skip-0.23.tar.gz
|
||||
@ -0,0 +1,42 @@
|
||||
From 18e36d68c1c7b6db2a4fe51482e2f46107e764c6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Tue, 21 Apr 2020 08:01:21 +0200
|
||||
Subject: [PATCH] Adapt to changes in Moo 2.004000
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Moo-2.004000 refactored "creation and installation of helper subs" and
|
||||
as a result a direct Moo::import execution stopped working and
|
||||
Module-Manifest-Skip tests either:
|
||||
|
||||
t/create.t .............. Can't locate object method "_install_subs" via package "Module::Manifest::Skip" at /usr/share/perl5/vendor_perl/Moo.pm line 47.
|
||||
BEGIN failed--compilation aborted at t/TestModuleManifestSkip.pm line 6.
|
||||
Compilation failed in require at t/create.t line 3.
|
||||
|
||||
Because Moo::import() is already executed when Module::Manifest::Skip does "use
|
||||
Moo;", the simplest fix is to stop calling it again.
|
||||
|
||||
https://github.com/ingydotnet/module-manifest-skip-pm/issues/7
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/Module/Manifest/Skip.pm | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/lib/Module/Manifest/Skip.pm b/lib/Module/Manifest/Skip.pm
|
||||
index 434f7ce..27c1ac7 100644
|
||||
--- a/lib/Module/Manifest/Skip.pm
|
||||
+++ b/lib/Module/Manifest/Skip.pm
|
||||
@@ -28,9 +28,6 @@ sub import {
|
||||
close MS;
|
||||
exit;
|
||||
}
|
||||
- else {
|
||||
- goto &Moo::import;
|
||||
- }
|
||||
}
|
||||
|
||||
sub add {
|
||||
--
|
||||
2.21.2
|
||||
|
||||
152
perl-Module-Manifest-Skip.spec
Normal file
152
perl-Module-Manifest-Skip.spec
Normal file
@ -0,0 +1,152 @@
|
||||
Name: perl-Module-Manifest-Skip
|
||||
Version: 0.23
|
||||
Release: 19%{?dist}
|
||||
Summary: MANIFEST.SKIP Manangement for Modules
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-Manifest-Skip
|
||||
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Module-Manifest-Skip-%{version}.tar.gz
|
||||
# Adapt to changes in Moo-2.004000, bug #1826148,
|
||||
# <https://github.com/ingydotnet/module-manifest-skip-pm/issues/7>
|
||||
Patch0: Module-Manifest-Skip-0.23-Adapt-to-changes-in-Moo-2.004000.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.8.1
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(File::ShareDir::Install) >= 0.06
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(File::ShareDir)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Moo) >= 0.091013
|
||||
# Tests:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(File::ShareDir)
|
||||
Requires: perl(File::Spec)
|
||||
Requires: perl(Moo) >= 0.091013
|
||||
Requires: perl(warnings)
|
||||
|
||||
# Remove under-speficied dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo\\)$
|
||||
|
||||
%description
|
||||
CPAN module authors use a MANIFEST.SKIP file to exclude certain well known
|
||||
files from getting put into a generated MANIFEST file, which would cause them
|
||||
to go into the final distribution package.
|
||||
|
||||
The packaging tools try to automatically skip things for you, but if you add
|
||||
one of your own entries, you have to add all the common ones yourself. This
|
||||
module attempts to make all of this boring process as simple and reliable as
|
||||
possible.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Manifest-Skip-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
unset RELEASE_TESTING
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes CONTRIBUTING README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-18
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Tue Apr 21 2020 Petr Pisar <ppisar@redhat.com> - 0.23-17
|
||||
- Adapt to changes in Moo-2.004000 (bug #1826148)
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-14
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-11
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-8
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-6
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-3
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-2
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Mon Aug 18 2014 Petr Pisar <ppisar@redhat.com> - 0.23-1
|
||||
- 0.23 bump
|
||||
|
||||
* Thu Jul 31 2014 Petr Pisar <ppisar@redhat.com> - 0.20-1
|
||||
- 0.20 bump
|
||||
|
||||
* Wed Jul 30 2014 Petr Pisar <ppisar@redhat.com> - 0.19-1
|
||||
- 0.19 bump
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Mon Jul 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-1
|
||||
- 0.17 bump
|
||||
|
||||
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 0.16-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Mon Apr 23 2012 Petr Pisar <ppisar@redhat.com> 0.16-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user