Name: perl-warnings-illegalproto Version: 0.001001 Release: 1%{?dist} Summary: Disable illegal prototype warnings on old Perls License: GPL+ or Artistic 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) BuildRequires: perl(strictures) >= 1 BuildRequires: perl(Test::More) >= 0.92 Requires: perl(strictures) >= 1 Requires: perl(Test::More) >= 0.92 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 * Sat Jan 19 2013 Dave Cross 0.001001-1 - Specfile autogenerated by cpanspec 1.78.