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