ppisar pushed to perl-Log-Report (master). "1.06 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 16 10:41:00 UTC 2015


From bd9415e202ec2c4e31353e1cccf7ac650cdbf8f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Tue, 16 Jun 2015 12:34:05 +0200
Subject: 1.06 bump


diff --git a/.gitignore b/.gitignore
index 3a8434d..5faf9ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /Log-Report-1.03.tar.gz
 /Log-Report-1.04.tar.gz
 /Log-Report-1.05.tar.gz
+/Log-Report-1.06.tar.gz
diff --git a/perl-Log-Report.spec b/perl-Log-Report.spec
index ccffa31..1028747 100644
--- a/perl-Log-Report.spec
+++ b/perl-Log-Report.spec
@@ -1,17 +1,24 @@
 Name:           perl-Log-Report
-Version:        1.05
-Release:        3%{?dist}
+Version:        1.06
+Release:        1%{?dist}
 Summary:        Report a problem with exceptions and translation support
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Log-Report/
 Source0:        http://www.cpan.org/authors/id/M/MA/MARKOV/Log-Report-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Devel::GlobalDestruction) >= 0.09
+# Dancer::Logger::Abstract not used at tests
+# Dancer2::Core::Role::Logger not used at tests
+# Dancer2::Core::Types not used at tests
+# Dancer2::Plugin not used at tests
+# Data::Dumper not used at tests
 BuildRequires:  perl(Encode) >= 2.00
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Fcntl)
@@ -29,6 +36,7 @@ BuildRequires:  perl(Log::Report::Util) >= 1.01
 # Mojo tests are optional
 BuildRequires:  perl(Mojo::Base)
 BuildRequires:  perl(Mojo::Log)
+# Moo not used at tests
 BuildRequires:  perl(overload)
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Scalar::Util)
@@ -44,6 +52,8 @@ BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More) >= 0.86
+# Optional tests:
+BuildRequires:  perl(Mojolicious) >= 2.16
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Devel::GlobalDestruction) >= 0.09
 Requires:       perl(Encode) >= 2.00
@@ -62,6 +72,28 @@ software is used for command-line and in a graphical interfaces (you may not
 know how it is used), or has to cope with internationalization; these modules
 try to simplify this.
 
+%package Dancer
+Summary:    Reroute Dancer logs into Log::Report
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(Exporter)
+Requires:   perl-Log-Report = %{?epoch:%epoch:}%{version}-%{release}
+
+%description Dancer
+When you use this logger in your Dancer application, it will nicely integrate
+with non-Dancer modules which need logging.
+
+%package Dancer2
+Summary:    Reroute Dancer2 logs into Log::Report
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:   perl(Dancer2::Core::Role::Logger)
+Requires:   perl-Log-Report = %{?epoch:%epoch:}%{version}-%{release}
+
+%description Dancer2
+This logger allows the use of the many logging back-ends available in
+Log::Report. It will process all of the Dancer2 log messages, and also allow
+any other module to use the same logging facilities. The same log messages can
+be sent to multiple destinations at the same time via flexible dispatchers.
+
 %package Dispatcher-Log4perl
 Summary:    Log::Log4perl back-end for Log::Report
 Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -126,16 +158,28 @@ make test
 %files
 %doc ChangeLog README
 %{perl_vendorlib}/*
+%exclude %{perl_vendorlib}/Dancer
+%exclude %{perl_vendorlib}/Dancer2
 %exclude %{perl_vendorlib}/Log/Report/Dispatcher/Log4perl.*
 %exclude %{perl_vendorlib}/Log/Report/Dispatcher/LogDispatch.*
 %exclude %{perl_vendorlib}/Log/Report/Dispatcher/Syslog.*
 %exclude %{perl_vendorlib}/MojoX
 %{_mandir}/man3/*
+%exclude %{_mandir}/man3/Dancer::*
+%exclude %{_mandir}/man3/Dancer2::*
 %exclude %{_mandir}/man3/Log::Report::Dispatcher::Log4perl.*
 %exclude %{_mandir}/man3/Log::Report::Dispatcher::LogDispatch.*
 %exclude %{_mandir}/man3/Log::Report::Dispatcher::Syslog.*
 %exclude %{_mandir}/man3/MojoX::Log::Report.*
 
+%files Dancer
+%{perl_vendorlib}/Dancer
+%{_mandir}/man3/Dancer::*
+
+%files Dancer2
+%{perl_vendorlib}/Dancer2
+%{_mandir}/man3/Dancer2::*
+
 %files Dispatcher-Log4perl
 %{perl_vendorlib}/Log/Report/Dispatcher/Log4perl.*
 %{_mandir}/man3/Log::Report::Dispatcher::Log4perl.*
@@ -153,6 +197,9 @@ make test
 %{_mandir}/man3/MojoX::Log::Report.*
 
 %changelog
+* Tue Jun 16 2015 Petr Pisar <ppisar at redhat.com> - 1.06-1
+- 1.06 bump
+
 * Mon Jun 08 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.05-3
 - Perl 5.22 rebuild
 
diff --git a/sources b/sources
index 0cb7f3e..1b7d9ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8e38571bcac6be3c510b461df05bfcf9  Log-Report-1.05.tar.gz
+796ee529e8f9f51743d7d1e4f73a3cf4  Log-Report-1.06.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Log-Report.git/commit/?h=master&id=bd9415e202ec2c4e31353e1cccf7ac650cdbf8f2


More information about the perl-devel mailing list