[perl-Log-Dispatch] update to 2.27

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

 



commit b10dedf726ec5f7129f74b23e3406fc23e7d8035
Author: Tom "spot" Callaway <tcallawa@xxxxxxxxxx>
Date:   Wed Nov 3 10:51:40 2010 -0400

    update to 2.27

 .gitignore             |    1 +
 perl-Log-Dispatch.spec |   36 ++++++++++++++----------------------
 sources                |    2 +-
 3 files changed, 16 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fb81071..633dff0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Log-Dispatch-2.22.tar.gz
+/Log-Dispatch-2.27.tar.gz
diff --git a/perl-Log-Dispatch.spec b/perl-Log-Dispatch.spec
index db019ce..c40cf80 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_vendorarch}/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


[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