f3d568
Name:           perl-File-Fetch
f3d568
Version:        0.56
f3d568
Release:        3%{?dist}
f3d568
Summary:        Generic file fetching mechanism
f3d568
License:        GPL+ or Artistic
f3d568
URL:            http://search.cpan.org/dist/File-Fetch/
f3d568
Source0:        http://www.cpan.org/authors/id/B/BI/BINGOS/File-Fetch-%{version}.tar.gz
f3d568
BuildArch:      noarch
f3d568
BuildRequires:  make
f3d568
BuildRequires:  perl-generators
f3d568
BuildRequires:  perl-interpreter
f3d568
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
f3d568
BuildRequires:  perl(strict)
f3d568
# Run-time:
f3d568
BuildRequires:  perl(Carp)
f3d568
BuildRequires:  perl(constant)
f3d568
BuildRequires:  perl(Cwd)
f3d568
BuildRequires:  perl(File::Basename)
f3d568
BuildRequires:  perl(File::Copy)
f3d568
BuildRequires:  perl(File::Path)
f3d568
BuildRequires:  perl(File::Spec) >= 0.82
f3d568
BuildRequires:  perl(File::Spec::Unix)
f3d568
BuildRequires:  perl(File::Temp)
f3d568
BuildRequires:  perl(FileHandle)
f3d568
BuildRequires:  perl(IPC::Cmd) >= 0.42
f3d568
BuildRequires:  perl(Locale::Maketext::Simple)
f3d568
BuildRequires:  perl(Module::Load::Conditional) >= 0.66
f3d568
BuildRequires:  perl(Params::Check) >= 0.07
f3d568
BuildRequires:  perl(vars)
f3d568
# Keep all downaloaders optional (LWP, curl, rsync etc.).
f3d568
# Tests:
f3d568
BuildRequires:  perl(Data::Dumper)
f3d568
BuildRequires:  perl(IO::Socket::INET)
f3d568
BuildRequires:  perl(lib)
f3d568
BuildRequires:  perl(Test::More)
f3d568
BuildRequires:  perl(warnings)
f3d568
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
f3d568
Requires:       perl(File::Spec) >= 0.82
f3d568
Requires:       perl(IPC::Cmd) >= 0.42
f3d568
Requires:       perl(Locale::Maketext::Simple)
f3d568
Requires:       perl(Module::Load::Conditional) >= 0.66
f3d568
Requires:       perl(Params::Check) >= 0.07
f3d568
# Keep all downaloaders optional (LWP, curl, rsync etc.).
f3d568
Suggests:       git-core
f3d568
Suggests:       perl(LWP)
f3d568
Suggests:       perl(LWP::Protocol::https)
f3d568
Suggests:       rsync
f3d568
f3d568
# Remove under-specified dependencies
f3d568
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|IPC::Cmd|Module::Load::Conditional|Params::Check)\\)$
f3d568
f3d568
%description
f3d568
File::Fetch allows you to fetch any file pointed to by a "ftp", "http",
f3d568
"file", "git", or "rsync" URI by a number of different means.
f3d568
f3d568
%prep
f3d568
%setup -q -n File-Fetch-%{version}
f3d568
f3d568
%build
f3d568
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
f3d568
make %{?_smp_mflags}
f3d568
f3d568
%install
f3d568
make pure_install DESTDIR=$RPM_BUILD_ROOT
f3d568
%{_fixperms} $RPM_BUILD_ROOT/*
f3d568
f3d568
%check
f3d568
make test
f3d568
f3d568
%files
f3d568
%doc CHANGES README
f3d568
%{perl_vendorlib}/*
f3d568
%{_mandir}/man3/*
f3d568
f3d568
%changelog
f3d568
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.56-3
f3d568
- Rebuild with enable hardening (bug #1636329)
f3d568
f3d568
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-2
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f3d568
f3d568
* Fri Dec 01 2017 Petr Pisar <ppisar@redhat.com> - 0.56-1
f3d568
- 0.56 bump
f3d568
f3d568
* Mon Sep 25 2017 Petr Pisar <ppisar@redhat.com> - 0.54-1
f3d568
- 0.54 bump
f3d568
f3d568
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-394
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f3d568
f3d568
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-393
f3d568
- Perl 5.26 rebuild
f3d568
f3d568
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-2
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f3d568
f3d568
* Mon Aug 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-1
f3d568
- 0.52 bump
f3d568
f3d568
* Tue Aug 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.50-1
f3d568
- 0.50 bump
f3d568
f3d568
* Tue Aug 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-366
f3d568
- Avoid loading optional modules from default . (CVE-2016-1238)
f3d568
f3d568
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-365
f3d568
- Increase release to favour standalone package
f3d568
f3d568
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.48-347
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f3d568
f3d568
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.48-346
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f3d568
f3d568
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-345
f3d568
- Increase release to favour standalone package
f3d568
f3d568
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-311
f3d568
- Perl 5.22 rebuild
f3d568
f3d568
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-310
f3d568
- Increase release to favour standalone package
f3d568
f3d568
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-3
f3d568
- Perl 5.20 rebuild
f3d568
f3d568
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.48-2
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f3d568
f3d568
* Mon Jan 27 2014 Petr Pisar <ppisar@redhat.com> - 0.48-1
f3d568
- 0.48 bump
f3d568
f3d568
* Thu Nov 28 2013 Petr Pisar <ppisar@redhat.com> - 0.46-1
f3d568
- 0.46 bump
f3d568
f3d568
* Tue Oct 01 2013 Petr Pisar <ppisar@redhat.com> - 0.44-1
f3d568
- 0.44 bump
f3d568
f3d568
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42-3
f3d568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f3d568
f3d568
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.42-2
f3d568
- Perl 5.18 rebuild
f3d568
f3d568
* Mon Apr 15 2013 Petr Pisar <ppisar@redhat.com> - 0.42-1
f3d568
- 0.42 bump
f3d568
f3d568
* Fri Mar 15 2013 Petr Pisar <ppisar@redhat.com> 0.38-1
f3d568
- Specfile autogenerated by cpanspec 1.78.