forked from pool/perl-Log-Log4perl
Accepting request 376389 from devel:languages:perl
automatic update (forwarded request 375948 from coolo) OBS-URL: https://build.opensuse.org/request/show/376389 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Log-Log4perl?expand=0&rev=29
This commit is contained in:
commit
49f3215d0a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5d3f902076c4e6476cb4a99d9841485b6770a3091aa2f55f09353fcaf3650bae
|
|
||||||
size 264883
|
|
3
Log-Log4perl-1.47.tar.gz
Normal file
3
Log-Log4perl-1.47.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9001dded011226538b9a50c7856815bb0dba72a1e6218fdcaba56f651356b96f
|
||||||
|
size 278780
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 20 10:16:58 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.47
|
||||||
|
see /usr/share/doc/packages/perl-Log-Log4perl/Changes
|
||||||
|
|
||||||
|
1.47 (2016/03/17)
|
||||||
|
* (ms) [rt.cpan.org #102647] Slaven Rezic fixed a test
|
||||||
|
case for file permissions
|
||||||
|
* (ms) Fixed synopsis code in Log::Log4perl::Appender::DBI,
|
||||||
|
reported by Chris Collins.
|
||||||
|
* (ms) Added suggestion by Dylan Doxey to test for both MSWin32 and
|
||||||
|
cygwin to detect windows-like systems for which tests need
|
||||||
|
to be skipped.
|
||||||
|
* (ms) [rt.cpan.org #110915] Fixed "Redundant argument in sprintf"
|
||||||
|
warning caused by DateFormat.pm with %d{Z} placeholders,
|
||||||
|
reported by Alexander Hartmaier.
|
||||||
|
* (ms) [rt.cpan.org #110512] Felix Ostmann fixed a broken error
|
||||||
|
message raised when a boolean filter can't be found.
|
||||||
|
* (ms) All hash traversals in Config.pm now done via "sort keys"
|
||||||
|
to make sure we can reliably reproduce potential problems.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 6 08:46:05 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.46
|
||||||
|
see /usr/share/doc/packages/perl-Log-Log4perl/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 30 11:18:04 UTC 2012 - coolo@suse.com
|
Wed May 30 11:18:04 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Log-Log4perl
|
# spec file for package perl-Log-Log4perl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,20 +17,21 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Log-Log4perl
|
Name: perl-Log-Log4perl
|
||||||
Version: 1.36
|
Version: 1.47
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Log-Log4perl
|
%define cpan_name Log-Log4perl
|
||||||
Summary: Log4j implementation for Perl
|
Summary: Log4j implementation for Perl
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Log-Log4perl/
|
Url: http://search.cpan.org/dist/Log-Log4perl/
|
||||||
Source: http://www.cpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
# MANUAL
|
BuildRequires: perl(File::Path) >= 2.060600
|
||||||
Requires: rrdtool
|
Requires: perl(File::Path) >= 2.060600
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,7 +41,7 @@ of your system from the outside. It implements the widely popular
|
|||||||
|
|
||||||
*For a detailed tutorial on Log::Log4perl usage, please read*
|
*For a detailed tutorial on Log::Log4perl usage, please read*
|
||||||
|
|
||||||
http://www.perl.com/pub/a/2002/09/11/log4perl.html
|
http://www.perl.com/pub/a/2002/09/11/log4perl.html
|
||||||
|
|
||||||
Logging beats a debugger if you want to know what's going on in your code
|
Logging beats a debugger if you want to know what's going on in your code
|
||||||
during runtime. However, traditional logging packages are too static and
|
during runtime. However, traditional logging packages are too static and
|
||||||
@ -49,23 +50,17 @@ generate a flood of log messages in your log files that won't help you.
|
|||||||
'Log::Log4perl' is different. It allows you to control the number of
|
'Log::Log4perl' is different. It allows you to control the number of
|
||||||
logging messages generated at three different levels:
|
logging messages generated at three different levels:
|
||||||
|
|
||||||
* *
|
* At a central location in your system (either in a configuration file or in
|
||||||
|
the startup code) you specify _which components_ (classes, functions) of
|
||||||
|
your system should generate logs.
|
||||||
|
|
||||||
At a central location in your system (either in a configuration file or
|
* You specify how detailed the logging of these components should be by
|
||||||
in the startup code) you specify _which components_ (classes, functions)
|
specifying logging _levels_.
|
||||||
of your system should generate logs.
|
|
||||||
|
|
||||||
* *
|
* You also specify which so-called _appenders_ you want to feed your log
|
||||||
|
messages to ("Print it to the screen and also append it to /tmp/my.log")
|
||||||
You specify how detailed the logging of these components should be by
|
and which format ("Write the date first, then the file name and line
|
||||||
specifying logging _levels_.
|
number, and then the log message") they should be in.
|
||||||
|
|
||||||
* *
|
|
||||||
|
|
||||||
You also specify which so-called _appenders_ you want to feed your log
|
|
||||||
messages to ("Print it to the screen and also append it to /tmp/my.log")
|
|
||||||
and which format ("Write the date first, then the file name and line
|
|
||||||
number, and then the log message") they should be in.
|
|
||||||
|
|
||||||
This is a very powerful and flexible mechanism. You can turn on and off
|
This is a very powerful and flexible mechanism. You can turn on and off
|
||||||
your logs at any time, specify the level of detail and make that dependent
|
your logs at any time, specify the level of detail and make that dependent
|
||||||
@ -84,7 +79,7 @@ re-read even while it's running!
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user