Name: perl-Package-Stash-XS Version: 0.22 Release: 1%{?dist} Summary: Faster and more correct implementation of the Package::Stash API License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Package-Stash-XS/ Source0: http://www.cpan.org/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(Test::Fatal) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is a backend for Package::Stash, which provides the functionality in a way that's less buggy and much faster. It will be used by default if it's installed, and should be preferred in all environments with a compiler. %prep %setup -q -n Package-Stash-XS-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -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 weaver.ini %{perl_vendorarch}/auto/* %{perl_vendorarch}/Package* %{_mandir}/man3/* %changelog * Tue Jun 28 2011 Dave Cross 0.22-1 - Specfile autogenerated by cpanspec 1.77.