Name: perl-POE-Component-Logger Version: 1.10 Release: 32%{?dist} Summary: A POE logging class License: GPL+ or Artistic URL: https://metacpan.org/release/POE-Component-Logger Source0: https://cpan.metacpan.org/authors/id/D/DO/DOLMEN/POE-Component-Logger-%{version}.tar.gz # Added . to default path in test, CPAN RT#116620 Patch0: POE-Component-Logger-1.10-Fix-default-path-in-tests.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Log::Dispatch::Config) >= 0.10 BuildRequires: perl(Log::Dispatch::Configurator) BuildRequires: perl(Log::Dispatch::Output) BuildRequires: perl(POE) >= 0.11 BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoWarnings) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description POE::Component::Logger provides a simple logging component that uses Log::Dispatch::Config to drive it, allowing you to log to multiple places at once (e.g. to STDERR and Syslog at the same time) and also to flexibly define your logger's output. It is very simple to use, because it creates a Logger::log method (yes, this is namespace corruption, so shoot me). If you don't like this, feel free to post directly to your logger as follows: $kernel->post('logger', 'log', "An error occurred: $!"); All logging is done in the background, so don't expect immediate output - the output will only occur after control goes back to the kernel so it can process the next event. %prep %setup -q -n POE-Component-Logger-%{version} %patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} + chmod -R u+w %{buildroot}/* %check make test %files %doc README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.10-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.10-31 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.10-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.10-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.10-28 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.10-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.10-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.10-25 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.10-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.10-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.10-22 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.10-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.10-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.10-19 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.10-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.10-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 1.10-16 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.10-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Aug 04 2016 Jitka Plesnikova - 1.10-14 - Added . to default path in test (CPAN RT#116620) * Mon May 16 2016 Jitka Plesnikova - 1.10-13 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.10-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.10-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.10-10 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 1.10-9 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Oct 10 2013 Petr Šabata - 1.10-7 - Update source URL - Modernize the spec a bit * Sun Aug 04 2013 Fedora Release Engineering - 1.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 31 2013 Petr Pisar - 1.10-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 29 2012 Petr Pisar - 1.10-2 - Perl 5.16 rebuild * Tue Jan 17 2012 Petr Šabata - 1.10-11 - 1.10 bump - Spec cleanup, remove excessive whitespace * Fri Jan 13 2012 Fedora Release Engineering - 1.00-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 1.00-10 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.00-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 08 2010 Ralf Corsépius - 1.00-8 - Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS: BZ 660974) - Remove BR: perl. * Thu May 06 2010 Marcela Maslanova - 1.00-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.00-6 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 1.00-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 1.00-3 Rebuild for new perl * Thu Aug 31 2006 Chris Weyl 1.00-2 - bump for mass rebuild * Sat Jul 8 2006 Chris Weyl 1.00-1 - bump for release * Fri Jul 07 2006 Chris Weyl 1.00-0 - Initial spec file for F-E