commit 69b521d3e82448661cbf2cdea60de4a05f31c262 Author: Tom "spot" Callaway <tcallawa@xxxxxxxxxx> Date: Thu Nov 4 10:35:24 2010 -0400 update to 2.27 perl-Log-Dispatch.spec | 36 ++++++++++++++---------------------- sources | 2 +- 2 files changed, 15 insertions(+), 23 deletions(-) --- diff --git a/perl-Log-Dispatch.spec b/perl-Log-Dispatch.spec index db019ce..775cc03 100644 --- a/perl-Log-Dispatch.spec +++ b/perl-Log-Dispatch.spec @@ -5,19 +5,15 @@ %{?_with_mailtests:%define mailtests 1} - Name: perl-Log-Dispatch -Version: 2.22 -Release: 6%{?dist} +Version: 2.27 +Release: 1%{?dist} Summary: Dispatches messages to one or more outputs - Group: Development/Libraries -License: GPL+ or Artistic +License: Artistic 2.0 URL: http://search.cpan.org/dist/Log-Dispatch/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-%{version}.tar.gz Patch0: Log-Dispatch-2.11-enable-mail-tests.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) @@ -27,6 +23,7 @@ BuildRequires: perl(Mail::Sendmail), perl(MIME::Lite) %endif BuildRequires: perl(File::Find::Rule) BuildRequires: perl(Apache2::Log) +BuildRequires: perl(Sys::Syslog) >= 0.16 # for improved tests BuildRequires: perl(Test::Kwalitee) @@ -40,7 +37,6 @@ multiple outputs, each of which can have a minimum and maximum log level. It is designed to be easily subclassed, both for creating a new dispatcher object and particularly for creating new outputs. - %prep %setup -q -n Log-Dispatch-%{version} %if %{mailtests} @@ -55,26 +51,20 @@ __EOF__ %define __perl_requires %{_builddir}/Log-Dispatch-%{version}/%{name}-perlreq chmod +x %{__perl_requires} - - %build -%{__perl} Build.PL installdirs=vendor -./Build - +%{__perl} Makefile.PL installdirs=vendor +make %install -rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make install DESTDIR=$RPM_BUILD_ROOT create_packlist=0 chmod -R u+w $RPM_BUILD_ROOT/* +# Delete unnecessary files. +rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/auto/ +rm -rf $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod %check -IS_MAINTAINER=1 ./Build test - - -%clean -rm -rf $RPM_BUILD_ROOT - +IS_MAINTAINER=1 make test %files %defattr(-,root,root,-) @@ -82,8 +72,10 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorlib}/Log/ %{_mandir}/man3/*.3pm* - %changelog +* Wed Nov 03 2010 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.27-1 +- update to 2.27 + * Mon May 03 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.22-6 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index b271c41..1ccc389 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -28c006a56d82335ed5c2ac31443ecbe3 Log-Dispatch-2.22.tar.gz +6bd3420ef0df39f2e32fbbe6b57a1db8 Log-Dispatch-2.27.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel