diff --git a/perl-Log-Any.spec b/perl-Log-Any.spec index 6481b3c..3d910c2 100644 --- a/perl-Log-Any.spec +++ b/perl-Log-Any.spec @@ -1,6 +1,6 @@ Name: perl-Log-Any Version: 0.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bringing loggers and listeners together License: GPL+ or Artistic Group: Development/Libraries @@ -12,6 +12,11 @@ BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Simple) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Log/Any/Test.pm is not the real Log::Any::Adapter +%filter_from_provides /perl(Log::Any::Adapter)\s*$/d + +%{?perl_default_filter} + %description Log::Any allows CPAN modules to safely and efficiently log messages, while letting the application choose (or decline to choose) a logging mechanism @@ -47,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Sun Feb 06 2011 Ralf Corsépius 0.11-2 +- Add %%perl_default_filter. +- Filter out bogus Provides: perl(Log::Any::Adapter). + * Sat Feb 13 2010 Steven Pritchard 0.11-1 - Specfile autogenerated by cpanspec 1.79. - Add --skipdeps to Makefile.PL to avoid attempting to download dependencies.