>From 1f4013ecfb68688c884737c0579e222b6559ec7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> Date: Fri, 3 Apr 2015 15:22:38 +0200 Subject: Move XML configuration file parser into perl-Log-Log4perl-Config-DOMConfigurator sub-package diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 91e5c54..50cdccf 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -68,6 +68,9 @@ popular (Java-based) Log4j logging package in pure Perl. To log into RRD database, install perl-Log-Log4perl-Appender-RRDs package. To log into a database via DBI, install perl-Log-Log4perl-Appender-DBI package. +To read log4j XML configuration files, install +perl-Log-Log4perl-Config-DOMConfigurator package. + %package Appender-DBI Summary: Log to a database Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -90,6 +93,16 @@ Log::Log4perl::Appender::RRDs appender facilitates writing data to RRDtool round-robin archives via Log4perl. %endif +%package Config-DOMConfigurator +Summary: Read log4j XML configuration files +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: %{name} = %{version}-%{release} +Conflicts: %{name} < 1.46-2 + +%description Config-DOMConfigurator +Log::Log4perl::Config::DOMConfigurator adds support for log4j XML +configuration files to Log::Log4perl Perl logging system. + %prep %setup -q -n Log-Log4perl-%{version} @@ -116,11 +129,13 @@ make test %{perl_vendorlib}/* %exclude %{perl_vendorlib}/Log/Log4perl/Appender/RRDs.pm %exclude %{perl_vendorlib}/Log/Log4perl/Appender/DBI.pm +%exclude %{perl_vendorlib}/Log/Log4perl/Config/DOMConfigurator.pm %exclude %{perl_vendorlib}/Log/Log4perl/JavaMap/JDBCAppender.pm %{_mandir}/man1/* %{_mandir}/man3/* %exclude %{_mandir}/man3/Log::Log4perl::Appender::RRDs.* %exclude %{_mandir}/man3/Log::Log4perl::Appender::DBI.* +%exclude %{_mandir}/man3/Log::Log4perl::Config::DOMConfigurator.* %exclude %{_mandir}/man3/Log::Log4perl::JavaMap::JDBCAppender.* %{_bindir}/* @@ -136,11 +151,17 @@ make test %{_mandir}/man3/Log::Log4perl::Appender::RRDs.* %endif +%files Config-DOMConfigurator +%{perl_vendorlib}/Log/Log4perl/Config/DOMConfigurator.pm +%{_mandir}/man3/Log::Log4perl::Config::DOMConfigurator.* + %changelog * Fri Apr 03 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.46-2 - Modernize spec file - Move RRDs back-end into perl-Log-Log4perl-Appender-RRDs sub-package - Move DBI back-end into perl-Log-Log4perl-Appender-DBI sub-package +- Move XML configuration file parser into + perl-Log-Log4perl-Config-DOMConfigurator sub-package * Mon Nov 03 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.46-1 - 1.46 bump -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Log-Log4perl.git/commit/?h=master&id=1f4013ecfb68688c884737c0579e222b6559ec7a -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel