%global pkg_name B-Lint %global pkg_version 1.11 %global rpm_pkg_version 1.11 %global rpm_pkg_release 1.n0i.2 Summary: Perl lint Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Epoch: 0 Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(B) BuildRequires: perl(List::Util) BuildRequires: perl(Module::Pluggable) %global perl_filter_prov 'perl\\(DB\\)' %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 %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Tue Oct 09 2007 Marius Feraru - 0:1.11-1.n0i.2 - version 1.11 * Thu Aug 02 2007 Marius Feraru - 0:1.09-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 1.09