Name: perl-match-simple Version: 0.010 Release: 14%{?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: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 BuildRequires: perl(strict) # Run-time: BuildRequires: perl(:VERSION) >= 5.6.1 BuildRequires: perl(B) BuildRequires: perl(Carp) BuildRequires: perl(Exporter::Tiny) >= 0.026 BuildRequires: perl(List::Util) >= 1.33 # Do not build-require match::simple::XS to exhibit PP implementation BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sub::Infix) >= 0.004 BuildRequires: perl(warnings) # Tests: BuildRequires: perl(if) BuildRequires: perl(overloading) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Tie::Array) BuildRequires: perl(Tie::Hash) BuildRequires: perl(Tie::RefHash) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Carp) Requires: perl(Exporter::Tiny) >= 0.026 %if 0%{?fedora} || 0%{?rhel} >= 8 Recommends: perl(match::simple::XS) >= 0.001 %endif Requires: perl(overload) Requires: perl(Sub::Infix) >= 0.004 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Exporter::Tiny\\)$ %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 unset MATCH_SIMPLE_IMPLEMENTATION make test %files %doc Changes COPYRIGHT CREDITS README %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.010-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.010-13 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.010-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.010-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.010-10 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.010-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.010-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.010-7 - Perl 5.32 rebuild * Wed Mar 11 2020 Petr Pisar - 0.010-6 - Specify all dependencies * Thu Jan 30 2020 Fedora Release Engineering - 0.010-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.010-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.010-3 - Perl 5.30 rebuild * 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.