Hello community, here is the log from the commit of package perl-Perl-Critic for openSUSE:Factory checked in at Sun Apr 3 12:23:53 CEST 2011.
-------- --- perl-Perl-Critic/perl-Perl-Critic.changes 2010-12-01 14:52:36.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-Perl-Critic/perl-Perl-Critic.changes 2011-04-02 19:06:37.000000000 +0200 @@ -1,0 +2,38 @@ +Sat Apr 2 07:48:54 UTC 2011 - co...@novell.com + +- update to 1.115 + * Fatal error in RegularExpressions::ProhibitUnusedCapture here + document check. RT #67116. + * Internal POD error in Documentation::RequirePodLinksIncludeText. Patch + by Salvatore Bonaccorso. RT #67012 + +------------------------------------------------------------------- +Thu Mar 31 18:26:47 UTC 2011 - co...@novell.com + +- update to 1.114 + Policy Changes: + * Documentation::RequirePodLinksIncludeText now handles nested POD + formatting. RT #65569 + * Clarified relation of severity numbers to names in Perl::Critic + POD. RT #66017 + * Removed caveats from Variables::RequireLocalizedPunctuationVars, + no longer necessary with PPI 1.208. RT #65514 + * Have InputOutput::RequireBriefOpen attempt to expand scope as + necessary to deal with the case where the open() and the + corresponding close() are not in the same scope. RT #64437 + * RegularExpressions::ProhibitUnusedCapture now looks inside + double-quotish things. RT #38942. + * RegularExpressions::ProhibitUnusedCapture now takes logical + alternation into account, so that (e.g.) + if ( /(a)/ || /(b)/ ) { + say $1; + } + is not a violation. RT #38942. + * ValuesAndExpressions::ProhibitCommaSeparatedStatements now + recognizes 'return { foo => 1, bar => 2 }' as containing a hash + constructor, not a block. This was fixed by PPI 1.215. RT #61301. + * ValuesAndExpressions::ProhibitCommaSeparatedStatements now + recognizes 'bless { foo => 1, bar => 2 }' as containing a hash + constructor, not a block. This was fixed by PPI 1.215. RT #64132. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- Perl-Critic-1.109.tar.bz2 New: ---- Perl-Critic-1.115.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Perl-Critic.spec ++++++ --- /var/tmp/diff_new_pack.ckx41j/_old 2011-04-03 12:22:35.000000000 +0200 +++ /var/tmp/diff_new_pack.ckx41j/_new 2011-04-03 12:22:35.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-Perl-Critic (Version 1.109) +# spec file for package perl-Perl-Critic # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -15,37 +15,30 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -%bcond_with test Name: perl-Perl-Critic -%define cpan_name Perl-Critic -Summary: Critique Perl source code for best-practices -Version: 1.109 -Release: 2 +Version: 1.115 +Release: 1 License: GPL+ or Artistic -Group: Development/Libraries/Perl +%define cpan_name Perl-Critic +Summary: Critique Perl source code for best-practices. Url: http://search.cpan.org/dist/Perl-Critic/ -#Source: http://www.cpan.org/modules/by-module/Perl/Perl-Critic-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.bz2 +Group: Development/Libraries/Perl +#Source: http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl(Module::Build) BuildRequires: perl-macros -%if %{with test} -BuildRequires: perl(Test::Deep) -BuildRequires: perl(Test::Memory::Cycle) -%endif BuildRequires: perl(base) BuildRequires: perl(B::Keywords) >= 1.05 BuildRequires: perl(Carp) BuildRequires: perl(Config::Tiny) >= 2 BuildRequires: perl(Email::Address) >= 1.889 BuildRequires: perl(Exception::Class) >= 1.23 -BuildRequires: perl(Exporter) +BuildRequires: perl(Exporter) >= 5.63 BuildRequires: perl(File::Basename) BuildRequires: perl(File::Find) BuildRequires: perl(File::HomeDir) @@ -63,31 +56,32 @@ BuildRequires: perl(overload) BuildRequires: perl(Perl::Tidy) BuildRequires: perl(Pod::Spell) >= 1 -BuildRequires: perl(PPI) >= 1.208 -BuildRequires: perl(PPI::Document) >= 1.208 -BuildRequires: perl(PPI::Document::File) >= 1.208 -BuildRequires: perl(PPI::Node) >= 1.208 -BuildRequires: perl(PPI::Token::Quote::Single) >= 1.208 -BuildRequires: perl(PPI::Token::Whitespace) >= 1.208 -BuildRequires: perl(PPIx::Regexp) -BuildRequires: perl(PPIx::Utilities::Statement) >= 1.000 +BuildRequires: perl(PPI) >= 1.215 +BuildRequires: perl(PPI::Document) >= 1.215 +BuildRequires: perl(PPI::Document::File) >= 1.215 +BuildRequires: perl(PPI::Node) >= 1.215 +BuildRequires: perl(PPI::Token::Quote::Single) >= 1.215 +BuildRequires: perl(PPI::Token::Whitespace) >= 1.215 +BuildRequires: perl(PPIx::Regexp) >= 0.01 +BuildRequires: perl(PPIx::Utilities::Node) >= 1.001 +BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001 BuildRequires: perl(Readonly) >= 1.03 BuildRequires: perl(Readonly::XS) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(String::Format) >= 1.13 BuildRequires: perl(Task::Weaken) +BuildRequires: perl(Test::Deep) BuildRequires: perl(Text::ParseWords) >= 3 -BuildRequires: perl(version) +BuildRequires: perl(version) >= 0.77 BuildRequires: perl(warnings) -# Requires: perl(base) Requires: perl(B::Keywords) >= 1.05 Requires: perl(Carp) Requires: perl(Config::Tiny) >= 2 Requires: perl(Email::Address) >= 1.889 Requires: perl(Exception::Class) >= 1.23 -Requires: perl(Exporter) +Requires: perl(Exporter) >= 5.63 Requires: perl(File::Basename) Requires: perl(File::Find) Requires: perl(File::HomeDir) @@ -104,14 +98,15 @@ Requires: perl(overload) Requires: perl(Perl::Tidy) Requires: perl(Pod::Spell) >= 1 -Requires: perl(PPI) >= 1.208 -Requires: perl(PPI::Document) >= 1.208 -Requires: perl(PPI::Document::File) >= 1.208 -Requires: perl(PPI::Node) >= 1.208 -Requires: perl(PPI::Token::Quote::Single) >= 1.208 -Requires: perl(PPI::Token::Whitespace) >= 1.208 -Requires: perl(PPIx::Regexp) -Requires: perl(PPIx::Utilities::Statement) >= 1.000 +Requires: perl(PPI) >= 1.215 +Requires: perl(PPI::Document) >= 1.215 +Requires: perl(PPI::Document::File) >= 1.215 +Requires: perl(PPI::Node) >= 1.215 +Requires: perl(PPI::Token::Quote::Single) >= 1.215 +Requires: perl(PPI::Token::Whitespace) >= 1.215 +Requires: perl(PPIx::Regexp) >= 0.01 +Requires: perl(PPIx::Utilities::Node) >= 1.001 +Requires: perl(PPIx::Utilities::Statement) >= 1.001 Requires: perl(Readonly) >= 1.03 Requires: perl(Readonly::XS) Requires: perl(Scalar::Util) @@ -119,53 +114,70 @@ Requires: perl(String::Format) >= 1.13 Requires: perl(Task::Weaken) Requires: perl(Text::ParseWords) >= 3 -Requires: perl(version) +Requires: perl(version) >= 0.77 Requires: perl(warnings) +%{perl_requires} %description Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to enforce various coding -guidelines. Most Policy modules are based on Damian Conway's book Perl Best -Practices. However, Perl::Critic is not limited to PBP and will even -support Policies that contradict Conway. You can enable, disable, and +guidelines. Most Policy modules are based on Damian Conway's book *Perl +Best Practices*. However, Perl::Critic is *not* limited to PBP and will +even support Policies that contradict Conway. You can enable, disable, and customize those Polices through the Perl::Critic interface. You can also create new Policy modules that suit your own tastes. For a command-line interface to Perl::Critic, see the documentation for -perlcritic. If you want to integrate Perl::Critic with your build -process, Test::Perl::Critic provides an interface that is suitable for -test programs. Also, Test::Perl::Critic::Progressive is useful for -gradually applying coding standards to legacy code. For the ultimate -convenience (at the expense of some flexibility) see the criticism -pragma. - -Authors: --------- - Jeffrey Ryan Thalhammer <thal...@cpan.org> +perlcritic. If you want to integrate Perl::Critic with your build process, +Test::Perl::Critic provides an interface that is suitable for test +programs. Also, Test::Perl::Critic::Progressive is useful for gradually +applying coding standards to legacy code. For the ultimate convenience (at +the expense of some flexibility) see the criticism pragma. + +Win32 and ActivePerl users can find PPM distributions of Perl::Critic at +the http://theoryx5.uwinnipeg.ca/ppms/ manpage and Alexandr Ciornii's +downloadable executable at the http://chorny.net/perl/perlcritic.html +manpage. + +If you'd like to try Perl::Critic without installing anything, there is a +web-service available at the http://perlcritic.com manpage. The web-service +does not yet support all the configuration features that are available in +the native Perl::Critic API, but it should give you a good idea of what it +does. You can also invoke the perlcritic web-service from the command-line +by doing an HTTP-post, such as one of these: + + $> POST http://perlcritic.com/perl/critic.pl < MyModule.pm + $> lwp-request -m POST http://perlcritic.com/perl/critic.pl < MyModule.pm + $> wget -q -O - --post-file=MyModule.pm http://perlcritic.com/perl/critic.pl + +Please note that the perlcritic web-service is still alpha code. The URL +and interface to the service are subject to change. + +Also, the Perl Development Kit (PDK 8.0) from ActiveState includes a very +slick graphical interface to Perl-Critic. For details, go to the +http://www.activestate.com/perl_dev_kit manpage %prep %setup -q -n %{cpan_name}-%{version} -# rpmlint: spurious-executable-perm -%{__chmod} 0644 tools/* %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check -./Build test +# fails currently ./Build test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(644,root,root,755) %doc Changes examples extras LICENSE README tools xt %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org