Name: perl-warnings-illegalproto Version: 0.001000 Release: 1%{?dist} Summary: Disable illegal prototype warnings on old Perls License: Distributable, see LICENSE Group: Development/Libraries URL: http://search.cpan.org/dist/warnings-illegalproto/ Source0: http://www.cpan.org/authors/id/F/FR/FREW/warnings-illegalproto-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module was implemented so that people can use strictures and use signatures at the same time. Thanks to mst, in Perl 5.12 and greater this is trivial, but before that a strange dance had to be done. %prep %setup -q -n warnings-illegalproto-%{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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Apr 18 2011 Dave Cross 0.001000-1 - Specfile autogenerated by cpanspec 1.78.