Name: perl-match-simple-XS Version: 0.001 Release: 2%{?dist} Summary: XS backend for match::simple License: GPL+ or Artistic URL: http://search.cpan.org/dist/match-simple-XS/ Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/match-simple-XS-%{version}.tar.gz BuildRequires: gcc BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(match::simple) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description XS backend for match::simple. %prep %setup -q -n match-simple-XS-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %make_build %install make pure_install DESTDIR=$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 %files %doc Changes CONTRIBUTING COPYRIGHT CREDITS README %license LICENSE %{perl_vendorarch}/auto/* %{perl_vendorarch}/match* %{_mandir}/man3/* %changelog * Fri Dec 07 2018 Xavier Bachelot 0.001-2 - Fixes from package review. * Fri Nov 30 2018 Xavier Bachelot 0.001-1 - Initial package.