|
|
|
Name: perl-Log-Any
|
|
|
|
Version: 1.03
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Bringing loggers and listeners together
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Log-Any/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Log-Any-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Runtime
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
# Unused BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
# Unused BuildRequires: perl(Fcntl)
|
|
|
|
# Unused BuildRequires: perl(IO::File)
|
|
|
|
# Unused BuildRequires: perl(Test::Builder)
|
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
Requires: perl(B)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Log::Any allows CPAN modules to safely and efficiently log messages, while
|
|
|
|
letting the application choose (or decline to choose) a logging mechanism
|
|
|
|
such as Log::Dispatch or Log::Log4perl.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Log-Any-%{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}/Log/
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Jan 02 2015 Petr Šabata <contyk@redhat.com> - 1.03-1
|
|
|
|
- 1.03 bump
|
|
|
|
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-6
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-5
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Feb 17 2014 Paul Howarth <paul@city-fan.org> - 0.15-3
|
|
|
|
- Bootstrap of EPEL-7 done
|
|
|
|
|
|
|
|
* Sun Feb 16 2014 Paul Howarth <paul@city-fan.org> - 0.15-2
|
|
|
|
- Bootstrap EPEL-7 build
|
|
|
|
|
|
|
|
* Mon Oct 7 2013 Paul Howarth <paul@city-fan.org> - 0.15-1
|
|
|
|
- Update to 0.15
|
|
|
|
- Migrate to Dist::Zilla
|
|
|
|
- Return false from null adapter is_xxx methods (CPAN RT#64164)
|
|
|
|
- Eliminate 'subroutine redefined' warning in case Log::Any::Adapter loaded
|
|
|
|
before Log::Any::Test
|
|
|
|
- Fix typo in lib/Log/Any/Adapter/Test.pm (CPAN RT#69850)
|
|
|
|
- Fix version number in Log/Any.pm
|
|
|
|
- Hide 'package Log::Any::Adapter' from PAUSE/Module::Metadata
|
|
|
|
- If we're not bootstrapping, run the release tests too
|
|
|
|
- Specify all dependencies
|
|
|
|
- Package upstream LICENSE file
|
|
|
|
- Drop %%defattr, redundant since rpm 4.4
|
|
|
|
- Make %%files list more explicit
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
|
- Don't use macros for commands
|
|
|
|
- Drop redundant provides filter
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.11-11
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.11-8
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Sat Apr 21 2012 Paul Howarth <paul@city-fan.org> - 0.11-7
|
|
|
|
- BR: perl(base), perl(Data::Dumper), perl(Test::Builder)
|
|
|
|
|
|
|
|
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 0.11-6
|
|
|
|
- Add __provides_exclude macro for rpm 4.9
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-5
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-4
|
|
|
|
- Perl 5.14 mass rebuild
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Feb 06 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.11-2
|
|
|
|
- Add %%perl_default_filter.
|
|
|
|
- Filter out bogus Provides: perl(Log::Any::Adapter).
|
|
|
|
|
|
|
|
* Sat Feb 13 2010 Steven Pritchard <steve@kspei.com> 0.11-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.79.
|
|
|
|
- Add --skipdeps to Makefile.PL to avoid attempting to download dependencies.
|