%{?scl:%scl_package perl-Params-Classify} Name: %{?scl_prefix}perl-Params-Classify Version: 0.013 Release: 13%{?dist} Summary: Argument type classification License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Params-Classify/ Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Params-Classify-%{version}.tar.gz BuildRequires: %{?scl_prefix}perl(ExtUtils::ParseXS) >= 2.2006 BuildRequires: %{?scl_prefix}perl(Module::Build) BuildRequires: %{?scl_prefix}perl(parent) BuildRequires: %{?scl_prefix}perl(Scalar::Util) >= 1.01 BuildRequires: %{?scl_prefix}perl(Test::More) %if !%{defined perl_small} BuildRequires: %{?scl_prefix}perl(Test::Pod) BuildRequires: %{?scl_prefix}perl(Test::Pod::Coverage) %endif Requires: %{?scl_prefix}perl(Exporter) Requires: %{?scl_prefix}perl(Scalar::Util) >= 1.01 Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) %{?perl_default_filter} %description This module provides various type-testing functions. These are intended for functions that, unlike most Perl code, care what type of data they are operating on. For example, some functions wish to behave differently depending on the type of their arguments (like overloaded functions in C++). %prep %setup -q -n Params-Classify-%{version} %build %{?scl:scl enable %{scl} '}perl Build.PL installdirs=vendor optimize="%{optflags}" && ./Build%{?scl:'} %install %{?scl:scl enable %{scl} '}./Build install destdir=%{buildroot} create_packlist=0%{?scl:'} find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check %{?scl:scl enable %{scl} '}./Build test%{?scl:'} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Params* %{_mandir}/man3/* %changelog * Tue Jan 13 2015 Petr Pisar - 0.013-13 - Disable optional tests for small build root * Wed Aug 27 2014 Jitka Plesnikova - 0.013-12 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.013-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.013-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.013-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 20 2013 Petr Pisar - 0.013-8 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.013-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.013-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 0.013-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.013-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.013-3 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.013-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Nov 19 2010 Iain Arnell 0.013-1 - update to latest upstream version * Tue Nov 09 2010 Iain Arnell 0.012-3 - BR perl(ExtUtils::ParseXS) >= 2.2006 now that it's available * Sat Nov 06 2010 Iain Arnell 0.012-2 - clarify ExtUtils::ParseXS build requirement version * Thu Nov 04 2010 Iain Arnell 0.012-1 - update to latest upstream version - use correct optflags macro * Sun Sep 26 2010 Iain Arnell 0.011-1 - Specfile autogenerated by cpanspec 1.78.