%global cpan_version 0.090 Name: perl-Log-Any-IfLOG # Keep 2-digit precision Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/') Release: 13%{?dist} Summary: Load Log::Any only if "logging is enabled" License: GPL+ or Artistic URL: https://metacpan.org/release/Log-Any-IfLOG Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Log-Any-IfLOG-%{cpan_version}.tar.gz BuildArch: noarch # Build BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime # XXX: BuildRequires: perl(Log::Any) # Tests only BuildRequires: perl(blib) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Log::Any) # Log::Any::IfLOG::DumbObj is a private module # perl-generators don't pick it up but that may change in the future -- # better have a filter in place and be ready %global __provides_exclude ^perl\\(Log::Any::IfLOG::DumbObj\\)$ %description This module is a drop-in replacement/wrapper for Log::Any to be used from your modules. This is a quick-hack solution to avoid the cost of loading Log::Any under "normal condition". %prep %setup -q -n Log-Any-IfLOG-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.09.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.09.0-12 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.09.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.09.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.09.0-9 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.09.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.09.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.09.0-6 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.09.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.09.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.09.0-3 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.09.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 10 2019 Jitka Plesnikova - 0.09.0-1 - 0.090 bump * Fri Jul 13 2018 Fedora Release Engineering - 0.08-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.08-6 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.08-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.08-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.08-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jun 16 2016 Jitka Plesnikova - 0.08-1 - 0.08 bump * Sat May 14 2016 Jitka Plesnikova - 0.07-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Aug 24 2015 Petr Ĺ abata 0.07-1 - Initial packaging