Name: perl-Class-C3 Version: 0.28 Release: 1%{?dist} Summary: Pragma to use the C3 method resolution order algorithm License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-C3/ Source0: http://www.cpan.org/authors/id/H/HA/HAARG/Class-C3-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Algorithm::C3) >= 0.07 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(Algorithm::C3) >= 0.07 Requires: perl(Scalar::Util) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is pragma to change Perl 5's standard method resolution order from depth- first left-to-right (a.k.a - pre-order) to the more sophisticated C3 method resolution order. %prep %setup -q -n Class-C3-%{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 META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon May 04 2015 Dave Cross 0.28-1 - Specfile autogenerated by cpanspec 1.78.