Name: perl-Switch Version: 2.17 Release: 26%{?dist} Summary: A switch statement for Perl License: GPL+ or Artistic URL: https://metacpan.org/release/Switch Source0: https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/Switch-%{version}.tar.gz Patch0: Switch-2.17-Filter-1.50.patch BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Carp) BuildRequires: perl(deprecate) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(if) BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(Text::Balanced) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(deprecate) BuildArch: noarch %description Switch.pm provides the syntax and semantics for an explicit case mechanism for Perl. The syntax is minimal, introducing only the keywords C and C and conforming to the general pattern of existing Perl control structures. The semantics are particularly rich, allowing any one (or more) of nearly 30 forms of matching to be used when comparing a switch value with its various cases. %prep %setup -q -n Switch-%{version} %patch0 -p1 -b .fixme %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/Switch.pm %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 2.17-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 2.17-25 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.17-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.17-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 2.17-22 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.17-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.17-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 2.17-19 - Perl 5.32 rebuild * Wed Jun 10 2020 Jitka Plesnikova - 2.17-18 - Updated dependencies * Tue Mar 17 2020 Jitka Plesnikova - 2.17-17 - Remove condition for perl(deprecate), it did not work * Thu Jan 30 2020 Fedora Release Engineering - 2.17-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.17-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 2.17-14 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.17-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.17-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 2.17-11 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.17-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.17-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 2.17-8 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.17-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 2.17-6 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 2.17-3 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 2.17-2 - Perl 5.20 rebuild * Tue Jun 10 2014 Tom Callaway - 2.17-1 - update to 2.17 * Sat Jun 07 2014 Fedora Release Engineering - 2.16-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 2.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 2.16-7 - Perl 5.18 rebuild * Fri Jul 12 2013 Jitka Plesnikova - 2.16-6 - Specify all dependencies - Use DESTDIR rather than PERL_INSTALL_ROOT - Remove buildroot cleaning * Thu Feb 14 2013 Fedora Release Engineering - 2.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 2.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 2.16-3 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Aug 10 2011 Tom Callaway - 2.16-1 - initial package