[perl-Net-Daemon] Specify all dependencies

Petr Pisar ppisar at fedoraproject.org
Tue Oct 23 14:01:41 UTC 2012


commit 5318cf8bc079b34f03c78aabe48377fc39095506
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Oct 23 15:34:13 2012 +0200

    Specify all dependencies

 perl-Net-Daemon.spec |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/perl-Net-Daemon.spec b/perl-Net-Daemon.spec
index 7a112b9..b5ffae0 100644
--- a/perl-Net-Daemon.spec
+++ b/perl-Net-Daemon.spec
@@ -1,6 +1,6 @@
 Name:           perl-Net-Daemon
 Version:        0.48
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Perl extension for portable daemons
 
 Group:          Development/Libraries
@@ -10,8 +10,17 @@ Source0:        http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/Net-Daemon-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-# Correct for lots of packages, other common choices include eg. Module::Build
-BuildRequires:  perl(ExtUtils::MakeMaker), perl-Pod-Perldoc, perl-Test-Simple
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl-Pod-Perldoc
+# Run-time:
+BuildRequires:  perl(Getopt::Long)
+# Tests:
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(Test::More)
+# Network tests:
+%{?_with_network_tests:
+BuildRequires:  perl(lib)
+}
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -75,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Oct 23 2012 Petr Pisar <ppisar at redhat.com> - 0.48-4
+- Specify all dependencies
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.48-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list