Name: perl-B-Keywords Version: 1.05 Release: 1%{?dist} Summary: Lists of reserved barewords and symbol names Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/B-Keywords/ Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/B-Keywords-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(YAML) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description %{summary}. %prep %setup -q -n B-Keywords-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check # Skip the Perl::Critic tests for two reasons: # 1) it fails a couple of tests # 2) it causes bootstrap problems # (Perl::Critic 0.23 requires this module) mv t/05critic.t t/05critic.t.skip AUTHOR_TESTS=1 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE %{perl_vendorlib}/B/ %{_mandir}/man3/*.3pm* %changelog * Sat Jan 20 2007 Jose Pedro Oliveira - 1.05-1 - First build.