[w3c-markup-validator] install missing httpd/mod_perl/startup.pl

Nils Philippsen nphilipp at fedoraproject.org
Fri Jan 18 16:30:45 UTC 2013


commit 1e3c27b2ac1ccea5e694c4040ee0c79c89321b8b
Author: Nils Philippsen <nils at redhat.com>
Date:   Fri Jan 18 17:30:09 2013 +0100

    install missing httpd/mod_perl/startup.pl
    
    this prevented httpd from starting

 w3c-markup-validator.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/w3c-markup-validator.spec b/w3c-markup-validator.spec
index 0bb5f62..9905c72 100644
--- a/w3c-markup-validator.spec
+++ b/w3c-markup-validator.spec
@@ -2,7 +2,7 @@
 
 Name:           w3c-markup-validator
 Version:        1.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        W3C Markup Validator
 
 Group:          Applications/Internet
@@ -72,6 +72,9 @@ mv htdocs/sgml-lib .
   's|\$Base/htdocs/sgml-lib|%{_datadir}/sgml/%{name}| ;
    s|\$Base/htdocs/config/tidy\.conf|%{_sysconfdir}/w3c/tidy.conf|' \
   htdocs/config/validator.conf
+%{__perl} -pi -e \
+  's|\$home/htdocs/sgml-lib/catalog\.xml|%{_datadir}/sgml/%{name}/catalog.xml|' \
+  httpd/mod_perl/startup.pl
 
 # Move config out of the way
 mv htdocs/config __config
@@ -90,8 +93,9 @@ install -Dpm 644 httpd/conf/httpd.conf \
   $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/%{name}.conf
 
 # Scripts, HTML, etc.
-install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/httpd
 cp -pR httpd/cgi-bin htdocs share $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -pR httpd/mod_perl $RPM_BUILD_ROOT%{_datadir}/%{name}/httpd
 
 # SGML library
 install -dm 755 $RPM_BUILD_ROOT%{_datadir}/sgml
@@ -146,6 +150,9 @@ done
 
 
 %changelog
+* Fri Jan 18 2013 Nils Philippsen <nils at redhat.com> - 1.3-3
+- install missing httpd/mod_perl/startup.pl which prevented httpd from starting
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list