diff --git a/curl.spec b/curl.spec index 1cd03a4..5f87df4 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Version: 7.35.0 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma @@ -48,10 +48,20 @@ BuildRequires: pkgconfig BuildRequires: stunnel BuildRequires: zlib-devel -# perl-Digest-MD5 (formerly part of perl) is required by the test-suite -%if 19 < 0%{?fedora} || 6 < 0%{?rhel} -BuildRequires: perl-Digest-MD5 -%endif +# perl modules used in the test suite +BuildRequires: perl(Cwd) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IPC::Open2) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(strict) +BuildRequires: perl(Time::Local) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(warnings) +BuildRequires: perl(vars) # require valgrind to boost test coverage on i386 and x86_64 %ifarch %{ix86} x86_64 @@ -234,6 +244,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/libcurl.m4 %changelog +* Mon Mar 17 2014 Paul Howarth 7.35.0-5 +- add all perl build requirements for the test suite, in a portable way + * Mon Mar 17 2014 Kamil Dudka 7.35.0-4 - add BR for perl-Digest-MD5, which is required by the test-suite