diff --git a/Log-Log4perl-1.24.tar.bz2 b/Log-Log4perl-1.24.tar.bz2 deleted file mode 100644 index dd7e6e2..0000000 --- a/Log-Log4perl-1.24.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35885fccc339776b4a94c4a8c4b87ab5af26ae2e6bd57c68a2a1bbc97c3bbddf -size 176321 diff --git a/Log-Log4perl-1.26.tar.bz2 b/Log-Log4perl-1.26.tar.bz2 new file mode 100644 index 0000000..7fafca7 --- /dev/null +++ b/Log-Log4perl-1.26.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56f7ca87c68b2928991ae7edc8b859452708fb7a3fca1311960c983b62f7c0cc +size 184642 diff --git a/perl-Log-Log4perl.changes b/perl-Log-Log4perl.changes index b27ed9d..1e04402 100644 --- a/perl-Log-Log4perl.changes +++ b/perl-Log-Log4perl.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Sat Dec 12 21:33:53 UTC 2009 - chris@computersalat.de + +- update to 1.26 + * (ms) [RT 50495] Perl code in the config file is now evaluated/ + compiled after the configuration parser has done its work, + opening up Perl subroutines to all configuration parsers, not + just PropertyConfigurator. Configuration subs for cspecs, + filter, warp_message and appender triggers are sheltered. + The previous, flawed implementation surfaced while using + a 'trigger' category, reported by Olivier Bilodeau. + * (ms) [RT 50090] Added non-portable linebreaks to PatternLayout + (requested by Zdeněk Juran). + * (ms) [RT 50094] Docfix for PatternLayout in main manpage (spotted + by Peter Rabbitson). + * (ms) [RT 28679] Added exists() to "Threshold" keyword uppercase + check. + * (ms) Took out Class::Prototyped testcase after it got all weird + and introduced backward-incompatible changes. +1.25 (2009/09/27) + * (ms) Appender::File is now closing (or sysclosing) the file + on file_close() instead of just undef'ing the handle. + * (ms) Added l4p-tmpl helper script to help whipping up a new + log4perl configuration file. + * (ms) Fixed uninitialized warning on XML configuration files, + reported by jbkilian on the sourceforge mailing list. + * (ms) Applied patch [RT 43426] by AFF to have + appender_thresholds_adjust return number of appenders changed. + * (ms) [RT 34400] New :nostrict target which allows redefining a + category within a Log4perl configuration file without error + or even a warning. + * (ms) [RT 34401] Applied patch by Jae Gangemi, who fixed + code references in @INC on Win32 systems. + * (ms) [RT 32259] Patternlayout now supports %R, which returns the + number of milliseconds elapsed from last logging event to + the current logging event (thanks to Emmanuel Rodriguez for + the patch). + * (ms) [RT 30899] Color configuration and attribute support + added to ScreenColoredLevels appender by Jason Kohles. + * (ms) [RT 28987] If UNIVERSAL is available, appender existence is + now verified by checking can() on the appender's new() + method (applied modified patch by Gabriel Berriz). +- cleanup spec + * define cpan_name + * sort tags + * fix build-/deps + * fix file perm +- added perl-macros + * perl_gen_filelist + ------------------------------------------------------------------- Mon Jul 13 11:17:36 CEST 2009 - ug@suse.de diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 279f196..935ddea 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Log-Log4perl (Version 1.24) +# spec file for package perl-Log-Log4perl (Version 1.26) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,35 @@ # norootforbuild -Url: http://search.cpan.org/perldoc?Log::Log4perl Name: perl-Log-Log4perl +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Log4j implementation for Perl +Version: 1.26 +Release: 1 License: Artistic License .. Group: Development/Libraries/Perl -AutoReqProv: on -Version: 1.24 -Release: 1 +Url: http://search.cpan.org/dist/Log-Log4perl +Source: %{cpan_name}-%{version}.tar.bz2 # for running all tests: -BuildRequires: perl-DBD-CSV perl-Log-Dispatch perl-XML-DOM -Requires: perl = %{perl_version} -Source: Log-Log4perl-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::More) +BuildRequires: perl(DBI) >= 1.607 +BuildRequires: perl(DBD::CSV) >= 0.22 +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(Log::Dispatch) +BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 +BuildRequires: perl(XML::DOM) > 1.29 +BuildRequires: rrdtool +Requires: perl = %{perl_version} +Requires: perl(DBI) >= 1.607 +Requires: perl(IO::Socket::INET) +Requires: perl(Log::Dispatch) +Requires: perl(Log::Dispatch::FileRotate) >= 1.10 +Requires: perl(XML::DOM) > 1.29 +Requires: rrdtool %description Log::Log4perl lets you remote-control and fine-tune the logging @@ -45,33 +60,29 @@ Authors: Kevin Goess %prep -%setup q- -n Log-Log4perl-%{version} -# --------------------------------------------------------------------------- +%setup -q -n %{cpan_name}-%{version} +find -type f -exec chmod 0644 {} \; %build perl Makefile.PL -make %{?jobs:-j%jobs} -# --------------------------------------------------------------------------- +%{__make} %{?jobs:-j%jobs} %check -make test +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist for file in eg/newsyslog-test eg/benchmarks/simple; do sed -i "s|/usr/local/bin/perl|%_bindir/perl|g" $file done -%files -%defattr(644,root,root,755) -%doc Changes LICENSE MANIFEST README eg xml -%doc %{_mandir}/man3/* -%dir %{perl_vendorlib}/Log -%{perl_vendorlib}/Log/* -%dir %{perl_vendorarch}/auto/Log -%dir %{perl_vendorarch}/auto/Log/Log4perl -%{perl_vendorarch}/auto/Log/Log4perl/.packlist -/var/adm/perl-modules/%{name} +%clean +%{__rm} -rf %{buildroot} + +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes LICENSE README eg xml ldap %changelog