[perl-Perl-Critic-Nits] Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 47e8b966d4474ece70a2ec661c32936b57550e96
Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx>
Date:   Tue Mar 15 18:39:57 2011 +0100

    Import

 .gitignore                 |    1 +
 perl-Perl-Critic-Nits.spec |   51 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..193271c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Perl-Critic-Nits-v1.0.0.tar.gz
diff --git a/perl-Perl-Critic-Nits.spec b/perl-Perl-Critic-Nits.spec
new file mode 100644
index 0000000..1ec96ef
--- /dev/null
+++ b/perl-Perl-Critic-Nits.spec
@@ -0,0 +1,51 @@
+Name:           perl-Perl-Critic-Nits
+Version:        1.0.0
+Release:        1%{?dist}
+Summary:        Policies of nits I like to pick
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Perl-Critic-Nits/
+Source0:        http://www.cpan.org/authors/id/K/KC/KCOWGILL/Perl-Critic-Nits-v%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Perl::Critic) >= 1.07
+# Missing in META.yml
+BuildRequires:  perl(Readonly)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Plug-in for perlcritics/Test::More. Require them.
+Requires:       perl(Perl::Critic) >= 1.07
+Requires:       perl(Test::More)
+
+%description
+The included policy is:
+Perl::Critic::Policy::ValuesAndExpressions::ProhibitAccessOfPrivateData
+(Prohibits direct access to a hash-based object's hash).
+
+%prep
+%setup -q -n Perl-Critic-Nits-v%{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 README
+%{perl_privlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jan 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> 1.0.0-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot stuff
+- Install into perl core directory
diff --git a/sources b/sources
index e69de29..ddc24ee 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e31188815713b86eb57a8889f19c45b2  Perl-Critic-Nits-v1.0.0.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux