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