From 8c9d6aac3ebcb50686a6f05a0b5ac77dc790600e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Tue, 1 Sep 2015 16:00:54 +0200
Subject: Specify all dependencies
If some optional dependencies are not installed, test will fail.
diff --git a/perl-Image-ExifTool.spec b/perl-Image-ExifTool.spec
index dbed389..1eb8093 100644
--- a/perl-Image-ExifTool.spec
+++ b/perl-Image-ExifTool.spec
@@ -1,14 +1,43 @@
Name: perl-Image-ExifTool
Version: 10.00
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL+ or Artistic
Group: Applications/Multimedia
Summary: Utility for reading and writing image meta info
URL:
http://www.sno.phy.queensu.ca/%7Ephil/exiftool/
Source0:
http://www.sno.phy.queensu.ca/%7Ephil/exiftool/Image-ExifTool-%{version}....
BuildArch: noarch
-BuildRequires: perl >= 1:5.6.1, perl(ExtUtils::Command::MM)
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
+# Run-time:
+BuildRequires: perl(Exporter)
+BuildRequires: perl(FileHandle)
+BuildRequires: perl(integer)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Optional run-time:
+# Archive::Zip not used at tests
+# Compress::Zlib not used at tests
+# Cwd not used at tests
+# Digest::MD5 not used at tests
+# Digest::SHA not used at tests
+BuildRequires: perl(Encode)
+# File::Basename not used at tests
+# File::Glob not used at tests
+# IO::File not used at tests
+# IO::String not used at tests
+# IO::Uncompress::Bunzip2 not used at tests
+BuildRequires: perl(POSIX)
+# Time::HiRes not used at tests
+BuildRequires: perl(Time::Local)
+# Win32::API not used on Linux
+# Win32::API not used on Linux
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(FileHandle)
%description
ExifTool is a Perl module with an included command-line application for
@@ -51,6 +80,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Tue Sep 01 2015 Petr Pisar <ppisar(a)redhat.com> - 10.00-2
+- Specify all dependencies (CPAN RT#106809)
+
* Tue Aug 18 2015 Tom Callaway <spot(a)fedoraproject.org> - 10.00-1
- update to 10.00 (new stable)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Image-ExifTool.git/commit/?h=mast...