Blame SPECS/perl-B-Lint.spec

344846
Name:           perl-B-Lint
344846
Version:        1.17
344846
Release:        2%{?dist}
344846
Summary:        Perl lint
344846
License:        GPL+ or Artistic
344846
Group:          Development/Libraries
344846
URL:            http://search.cpan.org/dist/B-Lint/
344846
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/B-Lint-%{version}.tar.gz
344846
BuildArch:      noarch
344846
BuildRequires:  perl
344846
BuildRequires:  perl(ExtUtils::MakeMaker)
344846
# Run-Time
344846
BuildRequires:  perl(B) 
344846
BuildRequires:  perl(Carp)
344846
BuildRequires:  perl(constant)
344846
%if 0%(perl -e 'print $] > 5.017')
344846
BuildRequires:  perl(deprecate)
344846
%endif
344846
BuildRequires:  perl(if)
344846
BuildRequires:  perl(List::Util)
344846
BuildRequires:  perl(Module::Pluggable)
344846
BuildRequires:  perl(overload)
344846
BuildRequires:  perl(strict)
344846
# Tests:
344846
BuildRequires:  perl(Config)
344846
BuildRequires:  perl(File::Spec)
344846
BuildRequires:  perl(O)
344846
BuildRequires:  perl(warnings)
344846
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
344846
Requires:       perl(constant)
344846
%if 0%(perl -e 'print $] > 5.017')
344846
Requires:       perl(deprecate)
344846
%endif
344846
344846
%description
344846
The B::Lint module is equivalent to an extended version of the -w option of
344846
perl. It is named after the program lint which carries out a similar process
344846
for C programs.
344846
344846
%prep
344846
%setup -q -n B-Lint-%{version}
344846
# Install into architercture-agnostic path, CPAN RT #83049
344846
sed -i '/PM *=>/,/}/d' Makefile.PL
344846
344846
%build
344846
perl Makefile.PL INSTALLDIRS=vendor
344846
make %{?_smp_mflags}
344846
344846
%install
344846
make pure_install DESTDIR=$RPM_BUILD_ROOT
344846
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
344846
%{_fixperms} $RPM_BUILD_ROOT/*
344846
344846
%check
344846
make test
344846
344846
%files
344846
%doc Changes README
344846
%{perl_vendorlib}/*
344846
%{_mandir}/man3/*
344846
344846
%changelog
344846
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 1.17-2
344846
- Correct typo in dependencies
344846
344846
* Wed Jan 30 2013 Petr Pisar <ppisar@redhat.com> 1.17-1
344846
- Specfile autogenerated by cpanspec 1.78.