Blame SPECS/perl-File-Fetch.spec

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