|
|
efaf76b |
Name: perl-CPAN-Inject
|
|
|
105689d |
Version: 1.14
|
|
|
d56be95 |
Release: 21%{?dist}
|
|
|
efaf76b |
Summary: Base class for injecting distributions into CPAN sources
|
|
|
efaf76b |
License: GPL+ or Artistic
|
|
|
0564003 |
URL: https://metacpan.org/release/CPAN-Inject
|
|
|
0564003 |
Source0: https://cpan.metacpan.org/authors/id/P/PS/PSHANGOV/CPAN-Inject-%{version}.tar.gz
|
|
|
6612802 |
# Work around CPAN bug mangling working directory, bug #1084093, CPAN RT#94963
|
|
|
6612802 |
Patch0: CPAN-Inject-1.14-Restore-working-directory-after-loading-CPAN-configu.patch
|
|
|
7fc3da2 |
# Expect en error if DNS does not work, bug #1138562, CPAN RT#98774
|
|
|
7fc3da2 |
Patch1: CPAN-Inject-1.14-Expect-unknown-exception-while-loading-CPAN-configur.patch
|
|
|
efaf76b |
BuildArch: noarch
|
|
|
e40b628 |
BuildRequires: perl-generators
|
|
|
efaf76b |
BuildRequires: perl(CPAN) >= 1.36
|
|
|
efaf76b |
BuildRequires: perl(CPAN::Checksums) >= 1.05
|
|
|
6612802 |
BuildRequires: perl(Cwd)
|
|
|
105689d |
BuildRequires: perl(File::Basename) >= 2.6
|
|
|
efaf76b |
BuildRequires: perl(File::chmod) >= 0.30
|
|
|
105689d |
BuildRequires: perl(File::Copy) >= 2.02
|
|
|
105689d |
BuildRequires: perl(File::Path) >= 1.00
|
|
|
efaf76b |
BuildRequires: perl(File::Remove) >= 0.34
|
|
|
105689d |
BuildRequires: perl(File::Spec) >= 0.80
|
|
|
105689d |
BuildRequires: perl(File::Spec::Functions)
|
|
|
105689d |
BuildRequires: perl(File::stat) >= 1.00
|
|
|
105689d |
BuildRequires: perl(inc::Module::Install)
|
|
|
efaf76b |
BuildRequires: perl(Params::Util) >= 0.21
|
|
|
efaf76b |
BuildRequires: perl(Test::More) >= 0.42
|
|
|
efaf76b |
BuildRequires: perl(Test::Script) >= 1.02
|
|
|
efaf76b |
Requires: perl(CPAN) >= 1.36
|
|
|
efaf76b |
Requires: perl(CPAN::Checksums) >= 1.05
|
|
|
6612802 |
Requires: perl(Cwd)
|
|
|
105689d |
Requires: perl(File::Basename) >= 2.6
|
|
|
105689d |
Requires: perl(File::chmod) >= 0.30
|
|
|
105689d |
Requires: perl(File::Copy) >= 2.02
|
|
|
105689d |
Requires: perl(File::Path) >= 1.00
|
|
|
105689d |
Requires: perl(File::Spec) >= 0.80
|
|
|
105689d |
Requires: perl(File::stat) >= 1.00
|
|
|
efaf76b |
Requires: perl(File::chmod) >= 0.30
|
|
|
efaf76b |
Requires: perl(Params::Util) >= 0.21
|
|
|
105689d |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
efaf76b |
|
|
|
efaf76b |
%description
|
|
|
efaf76b |
Following the release of CPAN::Mini, the CPAN::Mini::Inject module was
|
|
|
efaf76b |
created to add additional distributions into a minicpan mirror.
|
|
|
efaf76b |
|
|
|
efaf76b |
%prep
|
|
|
efaf76b |
%setup -q -n CPAN-Inject-%{version}
|
|
|
6612802 |
%patch0 -p1
|
|
|
7fc3da2 |
%patch1 -p1
|
|
|
efaf76b |
|
|
|
105689d |
# Remove bundled libraries
|
|
|
105689d |
rm -r inc
|
|
|
105689d |
sed -i -e '/^inc\// d' MANIFEST
|
|
|
105689d |
find -type f -exec chmod -x {} +
|
|
|
105689d |
|
|
|
efaf76b |
%build
|
|
|
105689d |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
efaf76b |
make %{?_smp_mflags}
|
|
|
efaf76b |
|
|
|
efaf76b |
%install
|
|
|
efaf76b |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
efaf76b |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
efaf76b |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
efaf76b |
|
|
|
efaf76b |
%check
|
|
|
8169d89 |
export HOME=$PWD/home
|
|
|
8169d89 |
mkdir "$HOME"
|
|
|
8169d89 |
make test
|
|
|
efaf76b |
|
|
|
efaf76b |
%files
|
|
|
105689d |
%doc Changes
|
|
|
efaf76b |
%{perl_vendorlib}/*
|
|
|
efaf76b |
%{_bindir}/cpaninject
|
|
|
efaf76b |
%{_mandir}/man1/cpaninject.1.gz
|
|
|
efaf76b |
%{_mandir}/man3/*
|
|
|
efaf76b |
|
|
|
efaf76b |
%changelog
|
|
|
d56be95 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-21
|
|
|
d56be95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d56be95 |
|
|
|
92722ee |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-20
|
|
|
92722ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
92722ee |
|
|
|
89b3f12 |
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-19
|
|
|
89b3f12 |
- Perl 5.28 rebuild
|
|
|
89b3f12 |
|
|
|
5d9a526 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-18
|
|
|
5d9a526 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5d9a526 |
|
|
|
578640f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-17
|
|
|
578640f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
578640f |
|
|
|
4a6edf8 |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-16
|
|
|
4a6edf8 |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
4a6edf8 |
|
|
|
596448a |
* Wed Jun 07 2017 Petr Pisar <ppisar@redhat.com> - 1.14-15
|
|
|
596448a |
- Fix a changelog entry
|
|
|
596448a |
|
|
|
db31315 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-14
|
|
|
db31315 |
- Perl 5.26 rebuild
|
|
|
db31315 |
|
|
|
6204c64 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-13
|
|
|
6204c64 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6204c64 |
|
|
|
b6b5145 |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-12
|
|
|
b6b5145 |
- Perl 5.24 rebuild
|
|
|
b6b5145 |
|
|
|
5312c89 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-11
|
|
|
5312c89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5312c89 |
|
|
|
2e6bb3d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-10
|
|
|
2e6bb3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2e6bb3d |
|
|
|
a59b71b |
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-9
|
|
|
a59b71b |
- Perl 5.22 rebuild
|
|
|
a59b71b |
|
|
|
7fc3da2 |
* Thu Sep 11 2014 Petr Pisar <ppisar@redhat.com> - 1.14-8
|
|
|
7fc3da2 |
- Expect an error if DNS does not work (bug #1138562)
|
|
|
7fc3da2 |
|
|
|
2f7ec08 |
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-7
|
|
|
2f7ec08 |
- Perl 5.20 rebuild
|
|
|
2f7ec08 |
|
|
|
fecd018 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-6
|
|
|
fecd018 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fecd018 |
|
|
|
8169d89 |
* Wed Apr 23 2014 Petr Pisar <ppisar@redhat.com> - 1.14-5
|
|
|
8169d89 |
- Run tests in a new home and noninteractively
|
|
|
6612802 |
- Work around CPAN bug mangling working directory (bug #1084093)
|
|
|
8169d89 |
|
|
|
d89f908 |
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> - 1.14-4
|
|
|
d89f908 |
- Perl 5.18 rebuild
|
|
|
d89f908 |
|
|
|
6d7f345 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-3
|
|
|
6d7f345 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6d7f345 |
|
|
|
f1680ec |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
|
|
|
f1680ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f1680ec |
|
|
|
596448a |
* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-1
|
|
|
105689d |
- 1.14 bump
|
|
|
105689d |
- Modernize spec and drop command macros
|
|
|
105689d |
- Remove bundled libraries.
|
|
|
105689d |
- Update dependencies.
|
|
|
105689d |
|
|
|
666c64d |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
|
|
|
666c64d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
666c64d |
|
|
|
f0ec79d |
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.13-5
|
|
|
f0ec79d |
- Perl 5.16 rebuild
|
|
|
f0ec79d |
|
|
|
3ac86aa |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
|
|
|
3ac86aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3ac86aa |
|
|
Petr Sabata |
8e90bc6 |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.13-3
|
|
Petr Sabata |
8e90bc6 |
- Perl mass rebuild
|
|
Petr Sabata |
8e90bc6 |
|
|
|
8a381ab |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-2
|
|
|
8a381ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8a381ab |
|
|
|
d4a9cd9 |
* Wed Jan 5 2011 Petr Sabata <psabata@redhat.com> - 1.13-1
|
|
|
d4a9cd9 |
- 1.13 version bump
|
|
|
d4a9cd9 |
|
|
|
42c7013 |
* Mon Jan 3 2011 Petr Sabata <psabata@redhat.com> - 1.12-1
|
|
|
42c7013 |
- 1.12 version bump
|
|
|
42c7013 |
|
|
|
009e12a |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-4
|
|
|
009e12a |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
009e12a |
|
|
|
baf9009 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-3
|
|
|
baf9009 |
- Mass rebuild with perl-5.12.0
|
|
|
baf9009 |
|
|
|
efaf76b |
* Tue Dec 22 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-2
|
|
|
efaf76b |
- switch off test which had problems with cpan in mock
|
|
|
efaf76b |
|
|
|
efaf76b |
* Wed Nov 18 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-1
|
|
|
efaf76b |
- Specfile autogenerated by cpanspec 1.78.
|