>From 7f0cb6cae84fe48ac0ebe8775e1a4f965399cf30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 22 Jun 2015 16:35:32 +0200
Subject: Specify all dependencies

---
 perl-URI-Find.spec | 39 +++++++++++++++++++++++++++++----------
 1 file changed, 29 insertions(+), 10 deletions(-)

diff --git a/perl-URI-Find.spec b/perl-URI-Find.spec
index 186eb5c..2f91e87 100644
--- a/perl-URI-Find.spec
+++ b/perl-URI-Find.spec
@@ -1,28 +1,44 @@
 Name:           perl-URI-Find
 Summary:        Find URIs in plain text
 Version:        20140709
-Release:        4%{?dist}
+Release:        5%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        
http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/URI-Find-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/URI-Find
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:      noarch
 
+BuildRequires:  findutils
+BuildRequires:  perl
 BuildRequires:  perl(Module::Build) >= 0.30
-BuildRequires:  perl(Test::More) >= 0.82
-# needed for tests
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(URI) >= 1.00
-BuildRequires:  perl(URI::URL) >= 5.00
-
-Requires:       perl(URI) >= 1.00
-Requires:       perl(URI::URL) >= 5.00
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(URI) >= 1.60
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
+# Tests:
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(open)
+BuildRequires:  perl(Test::More) >= 0.88
+# Optional tests:
+BuildRequires:  perl(Test::Pod) >= 0.95
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(URI) >= 1.60
 
 
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
 
+# Filter under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(URI\\)$
+
 %description
 This module does one thing: Finds URIs and URLs in plain text. It finds
 them quickly and it finds them *all* (or what URI::URL considers a URI to
@@ -58,6 +74,9 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Jun 22 2015 Petr Pisar <ppi...@redhat.com> - 20140709-5
+- Specify all dependencies (bug #1234369)
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 20140709-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-URI-Find.git/commit/?h=epel7&id=7f0cb6cae84fe48ac0ebe8775e1a4f965399cf30
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to