Name: perl-match-simple Version: 0.010 Release: 2%{?dist} Summary: Simplified clone of smartmatch operator License: GPL+ or Artistic URL: http://search.cpan.org/dist/match-simple/ Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/match-simple-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(B) BuildRequires: perl(Exporter::Tiny) >= 0.026 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sub::Infix) >= 0.004 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 Requires: perl(Sub::Infix) >= 0.004 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %if 0%{?fedora} || 0%{?rhel} >= 8 Recommends: perl(match::simple::XS) %endif %description match::simple provides a simple match operator |M| that acts like a sane subset of the (as of Perl 5.18) deprecated smart match operator. Unlike smart match, the behaviour of the match is determined entirely by the operand on the right hand side. %prep %setup -q -n match-simple-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes COPYRIGHT CREDITS README %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Feb 02 2019 Fedora Release Engineering - 0.010-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Nov 30 2018 Xavier Bachelot 0.010-1 - Initial package.