[perl-Perl-Critic-Compatibility] Import
Petr Pisar
ppisar at fedoraproject.org
Wed Mar 23 17:22:51 UTC 2011
commit af4d1d63a2e1ff1c41d438c3df8c85732b03b480
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Mar 23 18:22:20 2011 +0100
Import
.gitignore | 1 +
perl-Perl-Critic-Compatibility.spec | 53 +++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8d7378a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Perl-Critic-Compatibility-1.001.tar.gz
diff --git a/perl-Perl-Critic-Compatibility.spec b/perl-Perl-Critic-Compatibility.spec
new file mode 100644
index 0000000..57267fe
--- /dev/null
+++ b/perl-Perl-Critic-Compatibility.spec
@@ -0,0 +1,53 @@
+Name: perl-Perl-Critic-Compatibility
+Version: 1.001
+Release: 1%{?dist}
+Summary: Perl::Critic policies for compatibility with Perl versions
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Perl-Critic-Compatibility/
+Source0: http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Perl-Critic-Compatibility-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Module::Build)
+# Perl::Critic 1.083_001 rounded to 3 decimal digits
+BuildRequires: perl(Perl::Critic) >= 1.084
+BuildRequires: perl(Readonly)
+BuildRequires: perl(version)
+# Tests only:
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Perl::Critic 1.083_001 rounded to 3 decimal digits
+Requires: perl(Perl::Critic) >= 1.084
+
+%description
+Some Perl::Critic policies that will help you keep your code compatible with
+other versions of Perl, regardless of the version that you're developing with.
+This includes both backward and forward compatibility.
+
+%prep
+%setup -q -n Perl-Critic-Compatibility-%{version}
+
+%build
+%{__perl} Build.PL installdirs=core
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_privlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Jan 26 2011 Petr Pisar <ppisar at redhat.com> 1.001-1
+- Specfile autogenerated by cpanspec 1.78.
+- Summary shortened
+- Description text taken from POD Synopsis
+- Remove BuildRoot stuff
+- Install into perl core directory
diff --git a/sources b/sources
index e69de29..f0bb380 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+30d38d6106380333d12159604281cd62 Perl-Critic-Compatibility-1.001.tar.gz
More information about the scm-commits
mailing list