[httpd] update to 2.2.20 fix MPM stub man page generation
jorton
jorton at fedoraproject.org
Mon Sep 5 09:00:40 UTC 2011
commit cf01e138262b8121d4284c9f32ef358c7a7aa90c
Author: Joe Orton <jorton at redhat.com>
Date: Mon Sep 5 10:00:05 2011 +0100
update to 2.2.20
fix MPM stub man page generation
httpd.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/httpd.spec b/httpd.spec
index 07dbd4d..cbf2ea3 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -166,7 +166,8 @@ touch -r %{SOURCE15} httpd-${mpm}.service
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 -o $PWD man httpd.${mpm}.8.xml
+xmlto man httpd.${mpm}.8.xml
+test httpd.${mpm}.8 || mv man/man8/httpd.${mpm}.8 .
# Build the daemon
mkdir $mpm; pushd $mpm
More information about the scm-commits
mailing list