[perl-Log-Dispatch] Upstream update.

corsepiu corsepiu at fedoraproject.org
Mon Aug 18 05:28:23 UTC 2014


commit aaeacefc0f071c595820010d6cf3bf8ed9900e4f
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Aug 18 07:27:52 2014 +0200

    Upstream update.
    
    - Reflect dep changes.
    - Add Log-Dispatch-2.42.diff.
    - Remove Log-Dispatch-2.38.diff

 .gitignore             |    1 +
 Log-Dispatch-2.38.diff |   72 ------------------------------------------------
 Log-Dispatch-2.42.diff |   10 ++++++
 perl-Log-Dispatch.spec |   34 ++++++++++++----------
 sources                |    2 +-
 5 files changed, 30 insertions(+), 89 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2b79a5a..cec10a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Log-Dispatch-2.41.tar.gz
+/Log-Dispatch-2.42.tar.gz
diff --git a/Log-Dispatch-2.42.diff b/Log-Dispatch-2.42.diff
new file mode 100644
index 0000000..f625333
--- /dev/null
+++ b/Log-Dispatch-2.42.diff
@@ -0,0 +1,10 @@
+--- Log-Dispatch-2.42.orig/t/release-pod-coverage.t	2014-08-12 20:44:21.000000000 +0200
++++ Log-Dispatch-2.42/t/release-pod-coverage.t	2014-08-18 07:15:23.329409599 +0200
+@@ -29,6 +29,7 @@
+ 
+ my %trustme = (
+              'Log::Dispatch::File' => [
++                                      qr/O_APPEND$/,
+                                       qr/APPEND$/
+                                     ],
+              'Log::Dispatch' => [
diff --git a/perl-Log-Dispatch.spec b/perl-Log-Dispatch.spec
index 9748f9a..9bf27c6 100644
--- a/perl-Log-Dispatch.spec
+++ b/perl-Log-Dispatch.spec
@@ -1,25 +1,21 @@
 # Supported rpmbuild options:
 #
-# --with network/--without network
-#    include/exclude networked tests, which work in mock, but don't work in koji
-#    Default: --without (Exclude tests, which don't work in koji)
-%bcond_with	network
-
 # --with release_tests ... also check "RELEASE_TESTS".
 #     Default: --without (Exclude tests)
 %bcond_with	release_tests
 
 Name:           perl-Log-Dispatch
-Version:        2.41
-Release:        3%{?dist}
+Version:        2.42
+Release:        1%{?dist}
 Summary:        Dispatches messages to one or more outputs
 Group:          Development/Libraries
 License:        Artistic 2.0
 URL:            http://search.cpan.org/dist/Log-Dispatch/
 Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-%{version}.tar.gz
 
-# Hacks to make spell checking tests work with hunspell
-Patch0:         Log-Dispatch-2.38.diff
+# Work-around bugs in t/release-pod-coverage.t
+Patch0:         Log-Dispatch-2.42.diff
+
 BuildArch:      noarch
 
 BuildRequires:  perl(Apache2::Log)
@@ -31,7 +27,6 @@ BuildRequires:  perl(Mail::Send)
 BuildRequires:  perl(Mail::Sender)
 BuildRequires:  perl(Mail::Sendmail)
 BuildRequires:  perl(MIME::Lite)
-BuildRequires:  perl(Class::Load)
 BuildRequires:  perl(Params::Validate) >= 0.15
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(strict)
@@ -40,27 +35,29 @@ BuildRequires:  perl(warnings)
 
 # testsuite
 BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::Requires)
+
 # 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
+BuildRequires:  perl(Pod::Coverage::TrustPod)
 BuildRequires:  perl(Test::EOL)
 BuildRequires:  perl(Test::NoTabs)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Test::Spelling)
-BuildRequires:  hunspell-en
 BuildRequires:  perl(Test::CPAN::Changes)
-
-%if %{with network}
 BuildRequires:  perl(Test::Pod::No404s)
+BuildRequires:  perl(Test::Portability::Files)
+
 # Required by t/release-pod-no404s.t
 # Likely a bug underneath of Test::Pod::No404s
 BuildRequires:  perl(LWP::Protocol::https)
 %endif
-%endif
 
 # Ouch - Introduced by upstream in 2.40
 Conflicts:	perl(Log::Dispatch::File::Stamped) >= 0.10
@@ -76,7 +73,6 @@ new dispatcher object and particularly for creating new outputs.
 %prep
 %setup -q -n Log-Dispatch-%{version}
 %patch0 -p1
-sed -i -e "s,set_spell_cmd(.*),set_spell_cmd(\'hunspell -l\')," t/release-pod-spell.t
 
 %build
 %{__perl} Makefile.PL installdirs=vendor
@@ -94,11 +90,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test %{?with_release_tests:RELEASE_TESTING=1} LOG_DISPATCH_TEST_EMAIL="root at localhost.localdomain"
 
 %files
-%doc Changes LICENSE README
+%doc Changes LICENSE
 %{perl_vendorlib}/Log/
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Mon Aug 18 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.42-1
+- Upstream update.
+- Reflect dep changes.
+- Add Log-Dispatch-2.42.diff.
+- Remove Log-Dispatch-2.38.diff
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.41-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 3dde5da..8104008 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-85a384db37c7fe4e5db90c0bbc376da2  Log-Dispatch-2.41.tar.gz
+6fac830f8c063c790fda9652b29eedd0  Log-Dispatch-2.42.tar.gz



More information about the perl-devel mailing list