Hello community, here is the log from the commit of package perl-Class-Load for openSUSE:Factory checked in at 2011-11-16 17:20:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Class-Load (Old) and /work/SRC/openSUSE:Factory/.perl-Class-Load.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-Load", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Class-Load/perl-Class-Load.changes 2011-09-23 12:36:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Class-Load.new/perl-Class-Load.changes 2011-11-16 17:21:16.000000000 +0100 @@ -1,0 +2,35 @@ +Wed Oct 26 16:34:32 UTC 2011 - [email protected] + +- updated to 0.11 2011-10-04 + - don't accept package names that start with a digit ( Jesse Luehrs ) + - rewrote some of the guts to use Module::Runtime, rather than + reimplementing its functionality ( Jesse Luehrs ) + +- updated to 0.10 2011-09-06 + - make sure the $@ localization doesn't hide errors - invalid + module name errors were being suppressed on perls before 5.14 + ( Jesse Luehrs ) + +- Updated to 0.09 2011-09-05 + - fix is_class_loaded to ignore $ISA (but still look for @ISA) + when trying to determine whether a class is loaded ( Jesse Luehrs ) + - lots of internals cleanup ( Jesse Luehrs ) + +- updated to 0.08 2011-08-15 + - the previous version was missing a prereq declaration for + Data::OptList. Reported by Daisuke Maki and Mark Hedges. RT #70285. + +- updated to 0.07 2011-08-15 + - All this module's subroutines now accept optional parameters for a + module so you can write something like - + load_class( 'Foo', { -version => 42 } ) + - There is now a Class::Load::XS distro available on CPAN which implements + some of this module's code in XS for speed. This code was originally written + by Goro Fuji and Florian Ragwitz for Class::MOP. You need to install this + distro explicitly if you want the XS implementation. + - added a load_first_existing_class subroutine based mostly borrowed from + Class::MOP + - fixed a bug where a package with a version object in it's $VERSION would + not be seen as loaded. Reported by Chris Prather. + +------------------------------------------------------------------- Old: ---- Class-Load-0.06.tar.gz New: ---- Class-Load-0.11.tar.gz Class-Load-0.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Class-Load.spec ++++++ --- /var/tmp/diff_new_pack.GKLDQC/_old 2011-11-16 17:21:17.000000000 +0100 +++ /var/tmp/diff_new_pack.GKLDQC/_new 2011-11-16 17:21:17.000000000 +0100 @@ -18,64 +18,77 @@ Name: perl-Class-Load -Version: 0.06 +Version: 0.11 Release: 1 -Summary: A working require "Class::Name" and more -Source: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Class-Load-%{version}.tar.gz -Url: http://search.cpan.org/dist/Class-Load +License: GPL+ or Artistic +%define cpan_name Class-Load +Summary: a working (require "Class::Name") and more +Url: http://search.cpan.org/dist/Class-Load/ Group: Development/Libraries/Perl -License: Perl License +#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-0.12.tar.gz +Source: Class-Load-0.11.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: make -%if 0%{?suse_version} >= 1100 -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Fatal) -%endif -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(Data::OptList) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(Module::Runtime) >= 0.009 +BuildRequires: perl(Package::Stash) >= 0.32 BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Try::Tiny) +#BuildRequires: perl(Carp) +#BuildRequires: perl(Class::Load) +#BuildRequires: perl(Class::Load::PP) +#BuildRequires: perl(Class::Load::VersionCheck) +#BuildRequires: perl(constant) +#BuildRequires: perl(Exporter) +#BuildRequires: perl(Test::Class::Load) +#BuildRequires: perl(Test::Requires) +#BuildRequires: perl(Test::Spelling) +#BuildRequires: perl(version) +Requires: perl(Data::OptList) +Requires: perl(Module::Runtime) >= 0.009 +Requires: perl(Package::Stash) >= 0.32 Requires: perl(Scalar::Util) +Requires: perl(Test::Fatal) +Requires: perl(Test::More) >= 0.88 +Requires: perl(Try::Tiny) +%{perl_requires} %description -"require EXPR" only accepts "Class/Name.pm" style module names, not -"Class::Name". How frustrating! For that, we provide "load_class -'Class::Name'". +'require EXPR' only accepts 'Class/Name.pm' style module names, not +'Class::Name'. How frustrating! For that, we provide 'load_class +'Class::Name''. + It's often useful to test whether a module can be loaded, instead of throwing an error when it's not available. For that, we provide -"try_load_class 'Class::Name'". +'try_load_class 'Class::Name''. + Finally, sometimes we need to know whether a particular class has been -loaded. Asking %%INC is an option, but that will miss inner packages and +loaded. Asking '%INC' is an option, but that will miss inner packages and any class for which the filename does not correspond to the package name. -For that, we provide "is_class_loaded 'Class::Name'". +For that, we provide 'is_class_loaded 'Class::Name''. %prep -%setup -q -n "Class-Load-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%if 0%{?suse_version} >= 1100 - -%check -%__make test -%endif - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes LICENSE README -%files -%defattr(-,root,root) -%doc Changes -%dir %{perl_vendorlib}/Class -%{perl_vendorlib}/Class/Load.pm -%dir %{perl_vendorarch}/auto/Class -%{perl_vendorarch}/auto/Class/Load -%doc %{perl_man3dir}/Class::Load.%{perl_man3ext}%{ext_man} %changelog ++++++ Class-Load-0.06.tar.gz -> Class-Load-0.11.tar.gz ++++++ ++++ 4212 lines of diff (skipped) ++++++ Class-Load-0.06.tar.gz -> Class-Load-0.12.tar.gz ++++++ ++++ 4217 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
