ppisar pushed to perl-Net-SNPP (master). "Specify all dependencies"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jul 14 13:49:27 UTC 2015


From 7c746dab356be593bd575a38bc4767429ec2b1b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Tue, 14 Jul 2015 15:48:32 +0200
Subject: Specify all dependencies


diff --git a/perl-Net-SNPP.spec b/perl-Net-SNPP.spec
index 5caa6f5..66b831b 100644
--- a/perl-Net-SNPP.spec
+++ b/perl-Net-SNPP.spec
@@ -1,6 +1,6 @@
 Name:           perl-Net-SNPP
 Version:        1.17
-Release:        24%{?dist}
+Release:        25%{?dist}
 Summary:        Perl modules for the Simple Network Pager Protocol
 
 Group:          Development/Libraries
@@ -10,10 +10,32 @@ Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TOBEYA/Net-SNPP-%{ve
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(Net::Cmd) >= 0.01
+BuildRequires:  perl(Net::Config)
+BuildRequires:  perl(Socket) >= 1.3
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Net::Cmd) >= 0.01
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Net::Cmd|Socket)\\)$
 
 %description
 Perl client and server modules for the Simple Network Pager Protocol,
@@ -47,6 +69,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Jul 14 2015 Petr Pisar <ppisar at redhat.com> - 1.17-25
+- Specify all dependencies (bug #1242799)
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.17-24
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Net-SNPP.git/commit/?h=master&id=7c746dab356be593bd575a38bc4767429ec2b1b2


More information about the perl-devel mailing list