[perl-B-Lint] Import

Petr Pisar ppisar at fedoraproject.org
Fri Feb 15 08:31:30 UTC 2013


commit f4c78f367d4912ef468d2b76c56df2a41682603b
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Feb 15 09:28:28 2013 +0100

    Import

 .gitignore       |    1 +
 perl-B-Lint.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4e049e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/B-Lint-1.17.tar.gz
diff --git a/perl-B-Lint.spec b/perl-B-Lint.spec
new file mode 100644
index 0000000..55abd92
--- /dev/null
+++ b/perl-B-Lint.spec
@@ -0,0 +1,58 @@
+Name:           perl-B-Lint
+Version:        1.17
+Release:        1%{?dist}
+Summary:        Perl lint
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/B-Lint/
+Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/B-Lint-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-Time
+BuildRequires:  perl(B) 
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(if)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Module::Pluggable)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+# Tests:
+BuildRequires:  perl(Config)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(O)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(constant)
+
+%description
+The B::Lint module is equivalent to an extended version of the -w option of
+perl. It is named after the program lint which carries out a similar process
+for C programs.
+
+%prep
+%setup -q -n B-Lint-%{version}
+# Install into architercture-agnostic path, CPAN RT #83049
+sed -i '/PM *=>/,/}/d' Makefile.PL
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Jan 30 2013 Petr Pisar <ppisar at redhat.com> 1.17-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..97b9309 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0c4d868deec7bae4b0d32ce230566d07  B-Lint-1.17.tar.gz



More information about the perl-devel mailing list