- Add %perl_default_filter.

- Filter out bogus Provides: perl(Log::Any::Adapter).
f38
Ralf Corsépius 14 years ago
parent 27e0e38591
commit 1728ab6db4

@ -1,6 +1,6 @@
Name: perl-Log-Any Name: perl-Log-Any
Version: 0.11 Version: 0.11
Release: 1%{?dist} Release: 2%{?dist}
Summary: Bringing loggers and listeners together Summary: Bringing loggers and listeners together
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -12,6 +12,11 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Simple) BuildRequires: perl(Test::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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 %description
Log::Any allows CPAN modules to safely and efficiently log messages, while Log::Any allows CPAN modules to safely and efficiently log messages, while
letting the application choose (or decline to choose) a logging mechanism letting the application choose (or decline to choose) a logging mechanism
@ -47,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* 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 * Sat Feb 13 2010 Steven Pritchard <steve@kspei.com> 0.11-1
- Specfile autogenerated by cpanspec 1.79. - Specfile autogenerated by cpanspec 1.79.
- Add --skipdeps to Makefile.PL to avoid attempting to download dependencies. - Add --skipdeps to Makefile.PL to avoid attempting to download dependencies.

Loading…
Cancel
Save