rpms/perl-Log-Dispatch/FC-4 perl-Log-Dispatch.spec,1.1,1.2
Jose Pedro Oliveira (jpo)
fedora-extras-commits at redhat.com
Mon Sep 12 18:58:25 UTC 2005
Author: jpo
Update of /cvs/extras/rpms/perl-Log-Dispatch/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3844/FC-4
Modified Files:
perl-Log-Dispatch.spec
Log Message:
Sync with devel
Index: perl-Log-Dispatch.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Log-Dispatch/FC-4/perl-Log-Dispatch.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Log-Dispatch.spec 12 Sep 2005 11:38:16 -0000 1.1
+++ perl-Log-Dispatch.spec 12 Sep 2005 18:58:23 -0000 1.2
@@ -1,11 +1,6 @@
# Build switch:
# --with mailtests Enable mail tests
-# set mod_perl2 to
-# 1 for enabling mod_perl >= 2.0.0RC5 support
-# 0 for enabling mod_perl < 2.0.0RC5 support
-
-%define mod_perl2 1
%define mailtests 0
%{?_with_mailtests:%define mailtests 1}
@@ -13,7 +8,7 @@
Name: perl-Log-Dispatch
Version: 2.11
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Dispatches messages to one or more outputs
Group: Development/Libraries
@@ -44,9 +39,9 @@
%prep
%setup -q -n Log-Dispatch-%{version}
-%if %{mod_perl2}
+if %{__perl} -e 'use Apache2::Log' ; then
%patch0 -p1
-%endif
+fi
%if %{mailtests}
%patch1 -p1
%endif
@@ -79,5 +74,8 @@
%changelog
+* Mon Sep 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.11-2
+- Better mod_perl handling.
+
* Fri Sep 09 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.11-1
- First build.
More information about the fedora-extras-commits
mailing list