Hello community, here is the log from the commit of package perl-namespace-clean for openSUSE:Factory checked in at Fri Jul 8 15:34:11 CEST 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/perl-namespace-clean/perl-namespace-clean.changes 2011-06-04 22:51:48.000000000 +0200 @@ -0,0 +1,53 @@ +------------------------------------------------------------------- +Sat Jun 4 20:50:41 UTC 2011 - lars@linux-schulserver.de + +- fix build on distributions with old Test::More module + ( perl-namespace-clean-use_lib.patch ) + +------------------------------------------------------------------- +Thu Mar 31 08:09:45 UTC 2011 - coolo@novell.com + +- update to 0.20 + - Bump Package::Stash dependency to 0.22 to pull in a bugfix in + Package::Stash::XS 0.19. + - Port to the new Package::Stash 0.18 API and depend on it. + - Don't rely on package::stash's remove_package_symbol implementation + (doy). + +------------------------------------------------------------------- +Wed Dec 1 13:34:02 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Jul 12 13:24:40 UTC 2010 - chris@computersalat.de + +- update to 0.18 + - Make sure we continue working on future Package::Stash + versions (doy). +- [0.17] + - Make sure the debugger author test is skipped for + non-authors before the debugger is even loaded. +- [0.16] + - Release all changes of 0.15 as part of a stable release. + - Convert from Module::Install to Dist::Zilla. +- [0.15] TRIAL release + - Use Package::Stash for the stash manipulation bits (doy). +- [0.14] Thu Mar 18 11:15:38 CET 2010 + - Disable auto_install. + - Turn the error prone debugger test into an author test. +- recreated by cpanspec 1.78 +- noarch pkg +- added Build_n_Test patch + o otherwise Test::More >= 0.88 would be needed + +------------------------------------------------------------------- +Tue Feb 9 13:11:34 CET 2010 - nine@detonation.org + +- Upgraded to version 0.13 + +------------------------------------------------------------------- +Tue Jan 12 13:26:57 CET 2010 - nine@detonation.org + +- Specfile autogenerated by cpanspec 1.78. + calling whatdependson for head-i586 New: ---- namespace-clean-0.20.tar.gz perl-namespace-clean-use_lib.patch perl-namespace-clean.changes perl-namespace-clean.spec perl-namespace-clean_Build_n_Test.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-namespace-clean.spec ++++++ # # spec file for package perl-namespace-clean # # Copyright (c) 2011 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-namespace-clean Version: 0.20 Release: 1 License: GPL+ or Artistic %define cpan_name namespace-clean Summary: Keep imports and functions out of your namespace Url: http://search.cpan.org/dist/namespace-clean/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/F/FL/FLORA/namespace-clean-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz Patch1: perl-namespace-clean-use_lib.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07 BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(Package::Stash) >= 0.22 BuildRequires: perl(Sub::Identify) >= 0.04 BuildRequires: perl(Sub::Name) >= 0.04 BuildRequires: perl(vars) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(B::Hooks::EndOfScope) >= 0.07 Requires: perl(Package::Stash) >= 0.22 Requires: perl(Sub::Identify) >= 0.04 Requires: perl(Sub::Name) >= 0.04 Requires: perl(vars) %{perl_requires} %description Keeping packages clean When you define a function, or import one, into a Perl package, it will naturally also be available as a method. This does not per se cause problems, but it can complicate subclassing and, for example, plugin classes that are included via multiple inheritance by loading them as base classes. The 'namespace::clean' pragma will remove all previously declared or imported symbols at the end of the current package's compile cycle. Functions called in the package itself will still be bound by their name, but they won't show up as methods on your class or instances. %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} <= 1110 %patch1 -p1 sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t %endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes LICENSE README %changelog ++++++ perl-namespace-clean-use_lib.patch ++++++ Index: namespace-clean-0.20/Makefile.PL =================================================================== --- namespace-clean-0.20.orig/Makefile.PL +++ namespace-clean-0.20/Makefile.PL @@ -1,7 +1,7 @@ use strict; use warnings; - +use lib '__vendorperl__'; use ExtUtils::MakeMaker 6.31; Index: namespace-clean-0.20/t/00-basic.t =================================================================== --- namespace-clean-0.20.orig/t/00-basic.t +++ namespace-clean-0.20/t/00-basic.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 4; Index: namespace-clean-0.20/t/01-function-wipeout.t =================================================================== --- namespace-clean-0.20.orig/t/01-function-wipeout.t +++ namespace-clean-0.20/t/01-function-wipeout.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 9; Index: namespace-clean-0.20/t/02-inheritance.t =================================================================== --- namespace-clean-0.20.orig/t/02-inheritance.t +++ namespace-clean-0.20/t/02-inheritance.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 10; Index: namespace-clean-0.20/t/03-unimport.t =================================================================== --- namespace-clean-0.20.orig/t/03-unimport.t +++ namespace-clean-0.20/t/03-unimport.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 6; Index: namespace-clean-0.20/t/04-except.t =================================================================== --- namespace-clean-0.20.orig/t/04-except.t +++ namespace-clean-0.20/t/04-except.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 6; Index: namespace-clean-0.20/t/05-explicit-cleanee.t =================================================================== --- namespace-clean-0.20.orig/t/05-explicit-cleanee.t +++ namespace-clean-0.20/t/05-explicit-cleanee.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 19; Index: namespace-clean-0.20/t/06-other-types.t =================================================================== --- namespace-clean-0.20.orig/t/06-other-types.t +++ namespace-clean-0.20/t/06-other-types.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use warnings; use strict; - +use lib '__vendorperl__'; use FindBin; use lib "$FindBin::Bin/lib"; use Test::More tests => 17; Index: namespace-clean-0.20/t/08-const-sub.t =================================================================== --- namespace-clean-0.20.orig/t/08-const-sub.t +++ namespace-clean-0.20/t/08-const-sub.t @@ -1,6 +1,6 @@ use strict; use warnings; - +use lib '__vendorperl__'; use Test::More 0.88; use constant CONST => 123; Index: namespace-clean-0.20/t/author-07-debugger.t =================================================================== --- namespace-clean-0.20.orig/t/author-07-debugger.t +++ namespace-clean-0.20/t/author-07-debugger.t @@ -6,6 +6,7 @@ BEGIN { } } +use lib '__vendorperl__'; use Test::More; BEGIN { Index: namespace-clean-0.20/t/release-eol.t =================================================================== --- namespace-clean-0.20.orig/t/release-eol.t +++ namespace-clean-0.20/t/release-eol.t @@ -1,6 +1,7 @@ BEGIN { unless ($ENV{RELEASE_TESTING}) { + use lib '__vendorperl__'; require Test::More; Test::More::plan(skip_all => 'these tests are for release candidate testing'); } @@ -8,6 +9,7 @@ BEGIN { use strict; use warnings; +use lib '__vendorperl__'; use Test::More; eval 'use Test::EOL'; Index: namespace-clean-0.20/t/release-no-tabs.t =================================================================== --- namespace-clean-0.20.orig/t/release-no-tabs.t +++ namespace-clean-0.20/t/release-no-tabs.t @@ -1,6 +1,7 @@ BEGIN { unless ($ENV{RELEASE_TESTING}) { + use lib '__vendorperl__'; require Test::More; Test::More::plan(skip_all => 'these tests are for release candidate testing'); } @@ -8,6 +9,7 @@ BEGIN { use strict; use warnings; +use lib '__vendorperl__'; use Test::More; eval 'use Test::NoTabs'; Index: namespace-clean-0.20/t/release-pod-coverage.t =================================================================== --- namespace-clean-0.20.orig/t/release-pod-coverage.t +++ namespace-clean-0.20/t/release-pod-coverage.t @@ -8,6 +8,7 @@ BEGIN { } +use lib '__vendorperl__'; use Test::More; eval "use Test::Pod::Coverage 1.08"; Index: namespace-clean-0.20/t/release-pod-syntax.t =================================================================== --- namespace-clean-0.20.orig/t/release-pod-syntax.t +++ namespace-clean-0.20/t/release-pod-syntax.t @@ -7,6 +7,7 @@ BEGIN { } } +use lib '__vendorperl__'; use Test::More; eval "use Test::Pod 1.41"; ++++++ perl-namespace-clean_Build_n_Test.patch ++++++ diff -ruN namespace-clean-0.18-orig/Makefile.PL namespace-clean-0.18/Makefile.PL --- namespace-clean-0.18-orig/Makefile.PL 2010-06-13 19:11:17.000000000 +0200 +++ namespace-clean-0.18/Makefile.PL 2010-07-12 15:16:14.000000000 +0200 @@ -14,7 +14,7 @@ 'BUILD_REQUIRES' => { 'Exporter' => '0', 'FindBin' => '0', - 'Test::More' => '0.88', + 'Test::More' => '0', 'constant' => '0' }, 'CONFIGURE_REQUIRES' => { diff -ruN namespace-clean-0.18-orig/META.json namespace-clean-0.18/META.json --- namespace-clean-0.18-orig/META.json 2010-06-13 19:11:17.000000000 +0200 +++ namespace-clean-0.18/META.json 2010-07-12 15:16:30.000000000 +0200 @@ -34,7 +34,7 @@ "requires" : { "Exporter" : 0, "FindBin" : 0, - "Test::More" : "0.88", + "Test::More" : "0", "constant" : 0 } } diff -ruN namespace-clean-0.18-orig/META.yml namespace-clean-0.18/META.yml --- namespace-clean-0.18-orig/META.yml 2010-06-13 19:11:17.000000000 +0200 +++ namespace-clean-0.18/META.yml 2010-07-12 15:16:41.000000000 +0200 @@ -7,7 +7,7 @@ build_requires: Exporter: 0 FindBin: 0 - Test::More: 0.88 + Test::More: 0 constant: 0 configure_requires: ExtUtils::MakeMaker: 6.31 diff -ruN namespace-clean-0.18-orig/t/08-const-sub.t namespace-clean-0.18/t/08-const-sub.t --- namespace-clean-0.18-orig/t/08-const-sub.t 2010-06-13 19:11:17.000000000 +0200 +++ namespace-clean-0.18/t/08-const-sub.t 2010-07-12 15:17:35.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More 0.88; +use Test::More qw(no_plan); use constant CONST => 123; use namespace::clean; @@ -11,4 +11,4 @@ ok eval("!defined(&CONST)"); -done_testing; +#done_testing; diff -ruN namespace-clean-0.18-orig/t/author-07-debugger.t namespace-clean-0.18/t/author-07-debugger.t --- namespace-clean-0.18-orig/t/author-07-debugger.t 2010-06-13 19:11:17.000000000 +0200 +++ namespace-clean-0.18/t/author-07-debugger.t 2010-07-12 15:18:10.000000000 +0200 @@ -6,7 +6,7 @@ } } -use Test::More; +use Test::More qw(no_plan); BEGIN { plan skip_all => 'Only applicable on perl >= 5.8.9' @@ -44,4 +44,4 @@ Foo->bar(); -done_testing; +#done_testing; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org