%global pkgname Class-Throwable Name: perl-Class-Throwable Version: 0.13 Release: 22%{?dist} Summary: A minimal lightweight exception class License: GPL+ or Artistic URL: https://metacpan.org/release/Class-Throwable Source0: https://cpan.metacpan.org/authors/id/K/KM/KMX/%{pkgname}-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) >= 1.1 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(base) BuildRequires: perl(lib) BuildRequires: perl(Test::More) >= 0.47 # Optional tests: BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Scalar::Util) >= 1.1 %{?perl_default_filter} # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Scalar::Util\\)$ %description This module implements a minimal lightweight exception object. It is meant to be a compromise between more basic solutions like Carp which can only print information and cannot handle exception objects, and more complex solutions like Exception::Class which can be used to define complex inline exceptions and has a number of module dependencies. %prep %setup -qn %{pkgname}-%{version} # Correct permissons find -type f -exec chmod 0644 {} + %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot} %check make test %files %doc Changes README t/ %{perl_vendorlib}/Class/ %{_mandir}/man3/Class::Throwable.3pm* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.13-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.13-21 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.13-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.13-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.13-18 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.13-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.13-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.13-15 - Perl 5.32 rebuild * Wed Feb 19 2020 Jitka Plesnikova - 0.13-1 - Use make_* macros * Wed Jan 29 2020 Fedora Release Engineering - 0.13-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.13-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.13-11 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.13-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.13-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.13-8 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.13-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.13-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Sep 11 2015 Petr Pisar - 0.13-1 - 0.13 bump * Thu Jun 18 2015 Fedora Release Engineering - 0.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.11-7 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.11-6 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Aug 09 2013 Christopher Meng - 0.11-4 - SPEC cleanup. * Sat Aug 03 2013 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 20 2013 Petr Pisar - 0.11-2 - Perl 5.18 rebuild * Fri Feb 22 2013 Gabriel Somlo 0.11-1 - Update to 0.11 - fix BZ 914262 (by adding BuildRequires perl-devel) * Thu Feb 14 2013 Fedora Release Engineering - 0.10-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.10-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 0.10-11 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.10-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.10-9 - Perl mass rebuild * Tue Apr 19 2011 Paul Howarth - 0.10-8 - Filter bogus provides of perl(DB) and perl(TestException) - Filter doc-file-dependency perl(base) - Fix argument order for find with -depth * Tue Feb 08 2011 Fedora Release Engineering - 0.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova - 0.10-6 - Rebuild to fix problems with vendorarch/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova - 0.10-5 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.10-4 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Jan 12 2009 Gabriel Somlo 0.10-1 - Initial Fedora package