# Perform optional tests %bcond_without perl_Role_Commons_enables_optional_test Name: perl-Role-Commons Version: 0.104 Release: 12%{?dist} Summary: Roles that can be commonly used # COPYRIGHT: Public Domain # LICENSE: GPL+ or Artistic License: (GPL+ or Artistic) and Public Domain URL: https://metacpan.org/release/Role-Commons/ Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Role-Commons-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) # Run-time: BuildRequires: perl(:VERSION) >= 5.8 BuildRequires: perl(Carp) BuildRequires: perl(match::simple) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Moo::Role) BuildRequires: perl(Object::ID) BuildRequires: perl(Scalar::Util) # Types::TypeTiny version taken from Types::Standard in META BuildRequires: perl(Types::TypeTiny) >= 1.000000 BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.61 %if %{with perl_Role_Commons_enables_optional_test} # Optional tests: BuildRequires: perl(Moose) >= 2.02 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Types::TypeTiny version taken from Types::Standard in META Requires: perl(Types::TypeTiny) >= 1.000000 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Types::TypeTiny\\)$ %description Role-Commons is not yet another implementation of roles. It is a collection of generic, reusable roles that hopefully you will love to apply to your classes. These roles are built using Moo::Role, so automatically integrate into the Moose object system if you're using it, but they do not require Moose. %prep %setup -q -n Role-Commons-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes COPYRIGHT CREDITS README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.104-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.104-11 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.104-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.104-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.104-8 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.104-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.104-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.104-5 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.104-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.104-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.104-2 - Perl 5.30 rebuild * Thu May 02 2019 Petr Pisar 0.104-1 - Specfile autogenerated by cpanspec 1.78.