>From 2e567175e620424fa5fecd1e1fa0ca73464568f3 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:02:45 +0200 Subject: Move DBI back-end into perl-Log-Log4perl-Appender-DBI sub-package diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 4771ce8..91e5c54 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -66,6 +66,17 @@ behavior of your system from the outside. It implements the widely 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. + +%package Appender-DBI +Summary: Log to a database +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: %{name} = %{version}-%{release} +Conflicts: %{name} < 1.46-2 + +%description Appender-DBI +Log::Log4perl::Appender::DBI appender facilitates writing data to a database +using DBI interface via Log4perl. %if %{with RRD} %package Appender-RRDs @@ -104,11 +115,21 @@ make test %doc Changes README %{perl_vendorlib}/* %exclude %{perl_vendorlib}/Log/Log4perl/Appender/RRDs.pm +%exclude %{perl_vendorlib}/Log/Log4perl/Appender/DBI.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::JavaMap::JDBCAppender.* %{_bindir}/* +%files Appender-DBI +%{perl_vendorlib}/Log/Log4perl/Appender/DBI.pm +%{perl_vendorlib}/Log/Log4perl/JavaMap/JDBCAppender.pm +%{_mandir}/man3/Log::Log4perl::Appender::DBI.* +%{_mandir}/man3/Log::Log4perl::JavaMap::JDBCAppender.* + %if %{with RRD} %files Appender-RRDs %{perl_vendorlib}/Log/Log4perl/Appender/RRDs.pm @@ -119,6 +140,7 @@ make test * 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 * 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=2e567175e620424fa5fecd1e1fa0ca73464568f3 -- 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