From d231ce347441645c7da1be89cf95087dbc6d0fd1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 13:10:59 +0200 Subject: [PATCH] use generic url --- perl-Log-Any.spec | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/perl-Log-Any.spec b/perl-Log-Any.spec index 9fc9f26..db679a6 100644 --- a/perl-Log-Any.spec +++ b/perl-Log-Any.spec @@ -1,12 +1,11 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# + %define pdir Log %define pnam Any %include /usr/lib/rpm/macros.perl Summary: Log::Any -- Bringing loggers and listeners together -#Summary(pl.UTF-8): Name: perl-Log-Any Version: 0.14 Release: 1 @@ -15,32 +14,25 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Log/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 7def42641574ab11589252a4f7ad2c00 -# generic URL, check or change before uncommenting -#URL: http://search.cpan.org/dist/Log-Any/ +URL: http://search.cpan.org/dist/Log-Any/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 -%if %{with tests} -%endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. - -Log::Any has a very tiny footprint and no dependencies beyond Perl 5.6, -which makes it appropriate for even small CPAN modules to use. It defaults to -'null' logging activity, so a module can safely log without worrying about -whether the application has chosen (or will ever choose) a logging mechanism. - -The application, in turn, may choose one or more logging mechanisms via -Log::Any::Adapter. - - - -# %description -l pl.UTF-8 -# TODO +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. + +Log::Any has a very tiny footprint and no dependencies beyond Perl +5.6, which makes it appropriate for even small CPAN modules to use. It +defaults to 'null' logging activity, so a module can safely log +without worrying about whether the application has chosen (or will +ever choose) a logging mechanism. + +The application, in turn, may choose one or more logging mechanisms +via Log::Any::Adapter. %prep %setup -q -n %{pdir}-%{pnam}-%{version} -- 2.44.0