[perl-Log-Any/f14/master] - Add %perl_default_filter. - Filter out bogus Provides: perl(Log::Any::Adapter).

corsepiu corsepiu at fedoraproject.org
Sun Feb 6 21:07:18 UTC 2011


commit 7e37dd9ed6c68bc4f5c422c6cca7c7a7111efad9
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sun Feb 6 22:06:58 2011 +0100

    - Add %perl_default_filter.
    - Filter out bogus Provides: perl(Log::Any::Adapter).

 perl-Log-Any.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
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 <corsepiu at fedoraproject.org> 0.11-2
+- Add %%perl_default_filter.
+- Filter out bogus Provides: perl(Log::Any::Adapter).
+
 * Sat Feb 13 2010 Steven Pritchard <steve at kspei.com> 0.11-1
 - Specfile autogenerated by cpanspec 1.79.
 - Add --skipdeps to Makefile.PL to avoid attempting to download dependencies.



More information about the perl-devel mailing list