rpms/perl-Log-Dispatch/FC-4 perl-Log-Dispatch.spec,1.2,1.3

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Thu Sep 22 17:48:27 UTC 2005


Author: jpo

Update of /cvs/extras/rpms/perl-Log-Dispatch/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21370/FC-4

Modified Files:
	perl-Log-Dispatch.spec 
Log Message:
- Exclude mod_perl from the requirements list
  (overkill for most applications using Log::Dispatch).



Index: perl-Log-Dispatch.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Log-Dispatch/FC-4/perl-Log-Dispatch.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Log-Dispatch.spec	12 Sep 2005 18:58:23 -0000	1.2
+++ perl-Log-Dispatch.spec	22 Sep 2005 17:48:25 -0000	1.3
@@ -8,7 +8,7 @@
 
 Name:           perl-Log-Dispatch
 Version:        2.11
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Dispatches messages to one or more outputs
 
 Group:          Development/Libraries
@@ -46,6 +46,15 @@
 %patch1 -p1
 %endif
 
+# Requirements list: exclude mod_perl
+cat <<__EOF__ > %{name}-perlreq
+#!/bin/sh
+/usr/lib/rpm/perl.req \$* | grep -v 'perl(Apache'
+__EOF__
+%define __perl_requires %{_builddir}/Log-Dispatch-%{version}/%{name}-perlreq
+chmod +x %{__perl_requires}
+
+
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -74,6 +83,10 @@
 
 
 %changelog
+* Thu Sep 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.11-3
+- Exclude mod_perl from the requirements list
+  (overkill for most applications using Log::Dispatch).
+
 * Mon Sep 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.11-2
 - Better mod_perl handling.
 




More information about the fedora-extras-commits mailing list