[httpd] update to 2.2.20 fix MPM stub man page generation

jorton jorton at fedoraproject.org
Mon Sep 5 09:00:45 UTC 2011


commit 1fb6793a42c7c84b7edacb0853682fa6844d875f
Author: Joe Orton <jorton at redhat.com>
Date:   Mon Sep 5 10:00:13 2011 +0100

    update to 2.2.20
    fix MPM stub man page generation

 httpd.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/httpd.spec b/httpd.spec
index cbf2ea3..0663c86 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -167,7 +167,7 @@ ymdate=`date +'%b %Y'`
 sed "s/@PROGNAME@/httpd.${mpm}/g;s/@DATE@/${ymdate}/g;s/@VERSION@/%{version}/g;s/@MPM@/${mpm}/g;" \
     < $RPM_SOURCE_DIR/httpd.mpm.xml > httpd.${mpm}.8.xml
 xmlto man httpd.${mpm}.8.xml
-test httpd.${mpm}.8 || mv man/man8/httpd.${mpm}.8 .
+test -f httpd.${mpm}.8 || mv man/man8/httpd.${mpm}.8 .
 
 # Build the daemon
 mkdir $mpm; pushd $mpm


More information about the scm-commits mailing list