Name: perl-Sub-Install Version: 0.922 Release: 2%{?dist} Summary: Install subroutines into packages easily License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Sub-Install/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Install-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) %description This module makes it easy to install subroutines into packages without the unslightly mess of no strict or typeglobs lying about where just anyone can see them. %prep %setup -q -n Sub-Install-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check # you'll note a number of tests are skipped due to Test::Output not being # present. However, Test::Output requires Sub::Exporter which requires... # Sub::Install. Holy circular loop, Batman! :) make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Sep 06 2006 Chris Weyl 0.922-2 - bump * Sat Sep 02 2006 Chris Weyl 0.922-1 - Specfile autogenerated by cpanspec 1.69.1.