[perl-Log-Dispatch/el6/master] update to 2.27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3583f01cadb963e963379cb99f57835ebc5ebea5
Author: Tom "spot" Callaway <tcallawa@xxxxxxxxxx>
Date:   Thu Nov 4 10:35:42 2010 -0400

    update to 2.27

 perl-Log-Dispatch.spec |   44 ++++++++++++++++++--------------------------
 sources                |    2 +-
 2 files changed, 19 insertions(+), 27 deletions(-)
---
diff --git a/perl-Log-Dispatch.spec b/perl-Log-Dispatch.spec
index 4474d65..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:        4%{?dist}.2
+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,13 +72,15 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/Log/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
-* Thu Aug 26 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.22-4.2
-- re-enable Test::Kwalitee
+* 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
 
-* Sat Jul 03 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.22-4.1
-- temporarily remove Test::Kwalitee BR as it may take a while to appear in EL-6
+* Mon Dec  7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 2.22-5
+- rebuild against perl 5.10.1
 
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.22-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux