Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Test-Perl-Critic-Progressive
perl-Test-Perl-Critic-Progressive.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Perl-Critic-Progressive.spec of Package perl-Test-Perl-Critic-Progressive
# # spec file for package perl-Test-Perl-Critic-Progressive # # 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-Test-Perl-Critic-Progressive Version: 0.03 Release: 1 License: GPL+ or Artistic %define cpan_name Test-Perl-Critic-Progressive Summary: Gradually enforce coding standards. Url: http://search.cpan.org/dist/Test-Perl-Critic-Progressive/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/T/TH/THALJEF/Test-Perl-Critic-Progressive-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec) BuildRequires: perl(Perl::Critic) >= 1.082 BuildRequires: perl(Perl::Critic::Utils) >= 1.082 BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) Requires: perl(base) Requires: perl(Carp) Requires: perl(Data::Dumper) Requires: perl(Exporter) Requires: perl(File::Spec) Requires: perl(Perl::Critic) >= 1.082 Requires: perl(Perl::Critic::Utils) >= 1.082 Requires: perl(strict) Requires: perl(warnings) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description Applying coding standards to large amounts of legacy code is a daunting task. Often times, legacy code is so non-compliant that it seems downright impossible. But, if you consistently chip away at the problem, you will eventually succeed! Test::Perl::Critic::Progressive uses the the Perl::Critic manpage engine to prevent further deterioration of your code and *gradually* steer it towards conforming with your chosen coding standards. The most effective way to use Test::Perl::Critic::Progressive is as a unit test that is run under a continuous-integration system like CruiseControl or AntHill. Each time a developer commits changes to the code, this test will fail and the build will break unless it has the same (or fewer) Perl::Critic violations than the last successful test. See the the "NOTES" manpage for more details about how this test works. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes LICENSE README TODO %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor