[perl-Log-Dispatch] Build-require a sendmail program for tests

Petr Pisar ppisar at fedoraproject.org
Mon Apr 7 13:23:56 UTC 2014


commit 43bf8908182acf16b20816589e973a9989c0dccb
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Apr 7 15:16:54 2014 +0200

    Build-require a sendmail program for tests

 perl-Log-Dispatch.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-Log-Dispatch.spec b/perl-Log-Dispatch.spec
index 931cada..20a7c14 100644
--- a/perl-Log-Dispatch.spec
+++ b/perl-Log-Dispatch.spec
@@ -11,7 +11,7 @@
 
 Name:           perl-Log-Dispatch
 Version:        2.41
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Dispatches messages to one or more outputs
 Group:          Development/Libraries
 License:        Artistic 2.0
@@ -40,6 +40,9 @@ BuildRequires:  perl(warnings)
 
 # testsuite
 BuildRequires:  perl(Test::More) >= 0.88
+# If LOG_DISPATCH_TEST_EMAIL is passed to tests, a sendmail will be needed,
+# bug #1083418
+BuildRequires:  %{_sbindir}/sendmail
 
 %if %{with release_tests} 
 # for improved tests
@@ -96,6 +99,9 @@ make test %{?with_release_tests:RELEASE_TESTING=1} LOG_DISPATCH_TEST_EMAIL="root
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Mon Apr 07 2014 Petr Pisar <ppisar at redhat.com> - 2.41-2
+- Build-require a sendmail program for tests (bug #1083418)
+
 * Fri Aug 16 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.41-1
 - Upstream update.
 - Spec cleanup.



More information about the perl-devel mailing list