Blob Blame History Raw
Name:           perl-B-Lint
Version:        1.17
Release:        3%{?dist}
Summary:        Perl lint
License:        GPL+ or Artistic
Group:          Development/Libraries
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(ExtUtils::MakeMaker)
# Run-Time
BuildRequires:  perl(B) 
BuildRequires:  perl(Carp)
BuildRequires:  perl(constant)
%if 0%(perl -e 'print $] > 5.017')
BuildRequires:  perl(deprecate)
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)
%if 0%(perl -e 'print $] > 5.017')
Requires:       perl(deprecate)

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.

%setup -q -n B-Lint-%{version}
# Install into architercture-agnostic path, CPAN RT #83049
sed -i '/PM *=>/,/}/d' Makefile.PL

perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*

make test

%doc Changes README

* Fri Dec 27 2013 Daniel Mach <> - 1.17-3
- Mass rebuild 2013-12-27

* Tue May 28 2013 Petr Pisar <> - 1.17-2
- Correct typo in dependencies

* Wed Jan 30 2013 Petr Pisar <> 1.17-1
- Specfile autogenerated by cpanspec 1.78.