[perl-Perl-Critic-Lax] Import

Petr Pisar ppisar at fedoraproject.org
Mon Mar 28 16:15:46 UTC 2011


commit f3bb7f5253f9951aa9a57895404ae368a3441f28
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Mar 28 18:15:30 2011 +0200

    Import

 .gitignore                |    1 +
 perl-Perl-Critic-Lax.spec |   54 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c0a6634 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Perl-Critic-Lax-0.008.tar.gz
diff --git a/perl-Perl-Critic-Lax.spec b/perl-Perl-Critic-Lax.spec
new file mode 100644
index 0000000..5492177
--- /dev/null
+++ b/perl-Perl-Critic-Lax.spec
@@ -0,0 +1,54 @@
+Name:           perl-Perl-Critic-Lax
+Version:        0.008
+Release:        1%{?dist}
+Summary:        Policies that let you slide on common exceptions
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Perl-Critic-Lax/
+Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Perl-Critic-Lax-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Perl::Critic) >= 0.21
+BuildRequires:  perl(Perl::Critic::Policy)
+BuildRequires:  perl(Perl::Critic::Utils)
+# Tests only:
+BuildRequires:  perl(Perl::Critic::TestUtils)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Perl::Critic) >= 0.21
+
+%description
+The Perl-Critic-Lax distribution includes versions of core Perl::Critic
+modules with built-in exceptions. If you really like a Perl::Critic policy,
+but find that you often violate it in a specific way that seems pretty darn
+reasonable, maybe there's a Lax policy. If there isn't, send one in!
+
+%prep
+%setup -q -n Perl-Critic-Lax-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=perl
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README
+%{perl_privlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jan 27 2011 Petr Pisar <ppisar at redhat.com> 0.008-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot stuff
+- Install into perl core directory
diff --git a/sources b/sources
index e69de29..458c045 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+976c7526bc2d906f7c91d6eb0e07ecb4  Perl-Critic-Lax-0.008.tar.gz


More information about the scm-commits mailing list