Blame SPECS/perl-B-Lint.spec

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