From 7971c2bc231cbdbdd59e48d6cc04266a046ca758e39eaa28c61963edca1bf412 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Tue, 20 Jul 2010 12:39:37 +0000 Subject: [PATCH 1/3] Accepting request 43500 from home:computersalat:devel:perl Copy from home:computersalat:devel:perl/perl-Log-Log4perl via accept of submit request 43500 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/43500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Log-Log4perl?expand=0&rev=13 --- Log-Log4perl-1.28.tar.bz2 | 3 -- Log-Log4perl-1.29.tar.bz2 | 3 ++ perl-Log-Log4perl.changes | 23 +++++++++++++ perl-Log-Log4perl.spec | 71 +++++++++++++++++++++++---------------- 4 files changed, 68 insertions(+), 32 deletions(-) delete mode 100644 Log-Log4perl-1.28.tar.bz2 create mode 100644 Log-Log4perl-1.29.tar.bz2 diff --git a/Log-Log4perl-1.28.tar.bz2 b/Log-Log4perl-1.28.tar.bz2 deleted file mode 100644 index 244fec7..0000000 --- a/Log-Log4perl-1.28.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39b5c30ed9eeaf656856f449084be0ea1509bf148e8593c18a09a05d613236ba -size 191377 diff --git a/Log-Log4perl-1.29.tar.bz2 b/Log-Log4perl-1.29.tar.bz2 new file mode 100644 index 0000000..a3e26b4 --- /dev/null +++ b/Log-Log4perl-1.29.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a6b83157e1e40ca1b37f83ad05a860585931abe0bbccdc128e5a4fbd2a5e568 +size 194940 diff --git a/perl-Log-Log4perl.changes b/perl-Log-Log4perl.changes index ac59c72..831cb0c 100644 --- a/perl-Log-Log4perl.changes +++ b/perl-Log-Log4perl.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jul 19 15:08:00 UTC 2010 - chris@computersalat.de + +update to 1.29 + * (ms) Added documentation on how to use Log4perl's :easy macros + with Catalyst in Log::Log4perl::Catalyst. + * (ms) wrapper_register() now deals with caller_depth automatically. + Backwards compatibility with old wrapper classes using + caller_depth directly is provided. Documentation has been + updated. + * (ms) Felix Antonius Wilhelm Ostmann reported Resurrector.pm + crashes, fixed as suggested by setting the %INC value to + the module path. + * (ms) Another caller_depth fix in Log::Log4perl::Catalyst. + * (ms) Fixed logdie() caller_depth bug reported by Rob Retter. + * (ms) [RT 56145] Saving errstr in DBI appender to survive ping() + * (ms) Added INTERNAL_DEBUG env variable to test suite triggering + all _INTERNAL_DEBUG statements to be printed for better + error diagnosis on misbehaving systems. +- recreated by cpanspec 1.78 + o fix deps +- noarch pkg + ------------------------------------------------------------------- Tue Apr 6 17:02:39 UTC 2010 - chris@computersalat.de diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 0d6eae1..2ae32c5 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Log-Log4perl (Version 1.28) +# spec file for package perl-Log-Log4perl (Version 1.29) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,47 +17,49 @@ # norootforbuild +%bcond_with test Name: perl-Log-Log4perl -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +%define cpan_name Log-Log4perl Summary: Log4j implementation for Perl -Version: 1.28 -Release: 2 -License: Artistic License .. +Version: 1.29 +Release: 1 +License: GPL+ or Artistic 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/modules/by-module/Log/Log-Log4perl-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 -# for running all tests: +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif +%if %{with test} +# fix build cycle, do not enable +BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 +BuildRequires: perl(Log::Dispatch) +BuildRequires: perl(XML::DOM) > 1.29 +BuildRequires: rrdtool +%endif BuildRequires: perl(Test::More) >= 0.45 BuildRequires: perl(File::Spec) >= 0.82 # other not perl || perl-base -BuildRequires: perl(DBI) >= 1.607 -BuildRequires: perl(DBD::CSV) >= 0.22 -BuildRequires: perl(IO::Socket::INET) -BuildRequires: perl(Log::Dispatch) -# fix build cycle, do not enable -#BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 -BuildRequires: perl(XML::DOM) > 1.29 -BuildRequires: rrdtool +#BuildRequires: perl(DBI) >= 1.607 +#BuildRequires: perl(DBD::CSV) >= 0.22 +#BuildRequires: perl(IO::Socket::INET) 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(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 -behaviour of your system from the outside. It implements the widely -popular (Java-based) Log4j logging package in pure Perl. - - +Log::Log4perl lets you remote-control and fine-tune the logging behaviour +of your system from the outside. It implements the widely popular (Java- +based) Log4j logging package in pure Perl. Authors: -------- @@ -66,25 +68,36 @@ Authors: %prep %setup -q -n %{cpan_name}-%{version} -find -type f -exec chmod 0644 {} \; +# rpmlint: script-without-shebang +find -name "*.pm" -exec chmod 0644 {} \; +pushd eg +# rpmlint: spurious-executable-perm +# rpmlint: wrong-script-interpreter +for f in $(find -type f); do + %{__chmod} 0644 "$f" + %{__sed} -i -e "s@/usr/local/bin/perl@%{__perl}@" "$f" +done +popd %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -%{__make} %{?jobs:-j%jobs} +%{__perl} Makefile.PL INSTALLDIRS=vendor + +%{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install -%perl_process_packlist +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib %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 %clean -%{__rm} -rf %{buildroot} +%{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) From 3710b5820f54464ba75a9434e358a95f703d4c134cb6f140c1b59697d5bd32b8 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 20 Jul 2010 18:44:15 +0000 Subject: [PATCH 2/3] Accepting request 43502 from devel:languages:perl checked in (request 43502) OBS-URL: https://build.opensuse.org/request/show/43502 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Log-Log4perl?expand=0&rev=14 --- Log-Log4perl-1.28.tar.bz2 | 3 ++ Log-Log4perl-1.29.tar.bz2 | 3 -- perl-Log-Log4perl.changes | 23 ------------- perl-Log-Log4perl.spec | 71 ++++++++++++++++----------------------- 4 files changed, 32 insertions(+), 68 deletions(-) create mode 100644 Log-Log4perl-1.28.tar.bz2 delete mode 100644 Log-Log4perl-1.29.tar.bz2 diff --git a/Log-Log4perl-1.28.tar.bz2 b/Log-Log4perl-1.28.tar.bz2 new file mode 100644 index 0000000..244fec7 --- /dev/null +++ b/Log-Log4perl-1.28.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39b5c30ed9eeaf656856f449084be0ea1509bf148e8593c18a09a05d613236ba +size 191377 diff --git a/Log-Log4perl-1.29.tar.bz2 b/Log-Log4perl-1.29.tar.bz2 deleted file mode 100644 index a3e26b4..0000000 --- a/Log-Log4perl-1.29.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a6b83157e1e40ca1b37f83ad05a860585931abe0bbccdc128e5a4fbd2a5e568 -size 194940 diff --git a/perl-Log-Log4perl.changes b/perl-Log-Log4perl.changes index 831cb0c..ac59c72 100644 --- a/perl-Log-Log4perl.changes +++ b/perl-Log-Log4perl.changes @@ -1,26 +1,3 @@ -------------------------------------------------------------------- -Mon Jul 19 15:08:00 UTC 2010 - chris@computersalat.de - -update to 1.29 - * (ms) Added documentation on how to use Log4perl's :easy macros - with Catalyst in Log::Log4perl::Catalyst. - * (ms) wrapper_register() now deals with caller_depth automatically. - Backwards compatibility with old wrapper classes using - caller_depth directly is provided. Documentation has been - updated. - * (ms) Felix Antonius Wilhelm Ostmann reported Resurrector.pm - crashes, fixed as suggested by setting the %INC value to - the module path. - * (ms) Another caller_depth fix in Log::Log4perl::Catalyst. - * (ms) Fixed logdie() caller_depth bug reported by Rob Retter. - * (ms) [RT 56145] Saving errstr in DBI appender to survive ping() - * (ms) Added INTERNAL_DEBUG env variable to test suite triggering - all _INTERNAL_DEBUG statements to be printed for better - error diagnosis on misbehaving systems. -- recreated by cpanspec 1.78 - o fix deps -- noarch pkg - ------------------------------------------------------------------- Tue Apr 6 17:02:39 UTC 2010 - chris@computersalat.de diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 2ae32c5..0d6eae1 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Log-Log4perl (Version 1.29) +# spec file for package perl-Log-Log4perl (Version 1.28) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,49 +17,47 @@ # norootforbuild -%bcond_with test Name: perl-Log-Log4perl -%define cpan_name Log-Log4perl +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Log4j implementation for Perl -Version: 1.29 -Release: 1 -License: GPL+ or Artistic +Version: 1.28 +Release: 2 +License: Artistic License .. Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Log-Log4perl/ -#Source: http://www.cpan.org/modules/by-module/Log/Log-Log4perl-%{version}.tar.gz +Url: http://search.cpan.org/dist/Log-Log4perl Source: %{cpan_name}-%{version}.tar.bz2 -BuildArch: noarch +# for running all tests: BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif -%if %{with test} -# fix build cycle, do not enable -BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 -BuildRequires: perl(Log::Dispatch) -BuildRequires: perl(XML::DOM) > 1.29 -BuildRequires: rrdtool -%endif BuildRequires: perl(Test::More) >= 0.45 BuildRequires: perl(File::Spec) >= 0.82 # other not perl || perl-base -#BuildRequires: perl(DBI) >= 1.607 -#BuildRequires: perl(DBD::CSV) >= 0.22 -#BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(DBI) >= 1.607 +BuildRequires: perl(DBD::CSV) >= 0.22 +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(Log::Dispatch) +# fix build cycle, do not enable +#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(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 behaviour -of your system from the outside. It implements the widely popular (Java- -based) Log4j logging package in pure Perl. +Log::Log4perl lets you remote-control and fine-tune the logging +behaviour of your system from the outside. It implements the widely +popular (Java-based) Log4j logging package in pure Perl. + + Authors: -------- @@ -68,36 +66,25 @@ Authors: %prep %setup -q -n %{cpan_name}-%{version} -# rpmlint: script-without-shebang -find -name "*.pm" -exec chmod 0644 {} \; -pushd eg -# rpmlint: spurious-executable-perm -# rpmlint: wrong-script-interpreter -for f in $(find -type f); do - %{__chmod} 0644 "$f" - %{__sed} -i -e "s@/usr/local/bin/perl@%{__perl}@" "$f" -done -popd +find -type f -exec chmod 0644 {} \; %build -%{__perl} Makefile.PL INSTALLDIRS=vendor - -%{__make} %{?_smp_mflags} +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} %{?jobs:-j%jobs} %check %{__make} test %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%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 %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,-) From 8e076504d09ac5cb30d68b4ef1b3a1e96ab69cec3acb1dc977d6fabdd6e50a90 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Tue, 20 Jul 2010 18:44:16 +0000 Subject: [PATCH 3/3] Updating link to change in openSUSE:Factory/perl-Log-Log4perl revision 16.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Log-Log4perl?expand=0&rev=e322b99291df9e90434beaf780ed4238 --- Log-Log4perl-1.28.tar.bz2 | 3 -- Log-Log4perl-1.29.tar.bz2 | 3 ++ perl-Log-Log4perl.changes | 23 +++++++++++++ perl-Log-Log4perl.spec | 71 +++++++++++++++++++++++---------------- 4 files changed, 68 insertions(+), 32 deletions(-) delete mode 100644 Log-Log4perl-1.28.tar.bz2 create mode 100644 Log-Log4perl-1.29.tar.bz2 diff --git a/Log-Log4perl-1.28.tar.bz2 b/Log-Log4perl-1.28.tar.bz2 deleted file mode 100644 index 244fec7..0000000 --- a/Log-Log4perl-1.28.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39b5c30ed9eeaf656856f449084be0ea1509bf148e8593c18a09a05d613236ba -size 191377 diff --git a/Log-Log4perl-1.29.tar.bz2 b/Log-Log4perl-1.29.tar.bz2 new file mode 100644 index 0000000..a3e26b4 --- /dev/null +++ b/Log-Log4perl-1.29.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a6b83157e1e40ca1b37f83ad05a860585931abe0bbccdc128e5a4fbd2a5e568 +size 194940 diff --git a/perl-Log-Log4perl.changes b/perl-Log-Log4perl.changes index ac59c72..831cb0c 100644 --- a/perl-Log-Log4perl.changes +++ b/perl-Log-Log4perl.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jul 19 15:08:00 UTC 2010 - chris@computersalat.de + +update to 1.29 + * (ms) Added documentation on how to use Log4perl's :easy macros + with Catalyst in Log::Log4perl::Catalyst. + * (ms) wrapper_register() now deals with caller_depth automatically. + Backwards compatibility with old wrapper classes using + caller_depth directly is provided. Documentation has been + updated. + * (ms) Felix Antonius Wilhelm Ostmann reported Resurrector.pm + crashes, fixed as suggested by setting the %INC value to + the module path. + * (ms) Another caller_depth fix in Log::Log4perl::Catalyst. + * (ms) Fixed logdie() caller_depth bug reported by Rob Retter. + * (ms) [RT 56145] Saving errstr in DBI appender to survive ping() + * (ms) Added INTERNAL_DEBUG env variable to test suite triggering + all _INTERNAL_DEBUG statements to be printed for better + error diagnosis on misbehaving systems. +- recreated by cpanspec 1.78 + o fix deps +- noarch pkg + ------------------------------------------------------------------- Tue Apr 6 17:02:39 UTC 2010 - chris@computersalat.de diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 0d6eae1..2ae32c5 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Log-Log4perl (Version 1.28) +# spec file for package perl-Log-Log4perl (Version 1.29) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,47 +17,49 @@ # norootforbuild +%bcond_with test Name: perl-Log-Log4perl -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +%define cpan_name Log-Log4perl Summary: Log4j implementation for Perl -Version: 1.28 -Release: 2 -License: Artistic License .. +Version: 1.29 +Release: 1 +License: GPL+ or Artistic 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/modules/by-module/Log/Log-Log4perl-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 -# for running all tests: +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif +%if %{with test} +# fix build cycle, do not enable +BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 +BuildRequires: perl(Log::Dispatch) +BuildRequires: perl(XML::DOM) > 1.29 +BuildRequires: rrdtool +%endif BuildRequires: perl(Test::More) >= 0.45 BuildRequires: perl(File::Spec) >= 0.82 # other not perl || perl-base -BuildRequires: perl(DBI) >= 1.607 -BuildRequires: perl(DBD::CSV) >= 0.22 -BuildRequires: perl(IO::Socket::INET) -BuildRequires: perl(Log::Dispatch) -# fix build cycle, do not enable -#BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 -BuildRequires: perl(XML::DOM) > 1.29 -BuildRequires: rrdtool +#BuildRequires: perl(DBI) >= 1.607 +#BuildRequires: perl(DBD::CSV) >= 0.22 +#BuildRequires: perl(IO::Socket::INET) 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(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 -behaviour of your system from the outside. It implements the widely -popular (Java-based) Log4j logging package in pure Perl. - - +Log::Log4perl lets you remote-control and fine-tune the logging behaviour +of your system from the outside. It implements the widely popular (Java- +based) Log4j logging package in pure Perl. Authors: -------- @@ -66,25 +68,36 @@ Authors: %prep %setup -q -n %{cpan_name}-%{version} -find -type f -exec chmod 0644 {} \; +# rpmlint: script-without-shebang +find -name "*.pm" -exec chmod 0644 {} \; +pushd eg +# rpmlint: spurious-executable-perm +# rpmlint: wrong-script-interpreter +for f in $(find -type f); do + %{__chmod} 0644 "$f" + %{__sed} -i -e "s@/usr/local/bin/perl@%{__perl}@" "$f" +done +popd %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -%{__make} %{?jobs:-j%jobs} +%{__perl} Makefile.PL INSTALLDIRS=vendor + +%{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install -%perl_process_packlist +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib %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 %clean -%{__rm} -rf %{buildroot} +%{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-)