[httpd] fix path expansion in service files

jorton jorton at fedoraproject.org
Thu Apr 14 15:44:55 UTC 2011


commit df147d55d0e1710a308096f170d9c4980ff32191
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Apr 14 16:44:53 2011 +0100

    fix path expansion in service files

 httpd.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/httpd.spec b/httpd.spec
index c52d717..8742c96 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -8,7 +8,7 @@
 Summary: Apache HTTP Server
 Name: httpd
 Version: 2.2.17
-Release: 12%{?dist}
+Release: 13%{?dist}
 URL: http://httpd.apache.org/
 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
 Source1: index.html
@@ -213,7 +213,7 @@ for f in %{mpms}; do
 done
 
 # Create default/prefork service file for systemd
-sed "s, at NAME@,prefork,g;s, at EXEC@,%{sbindir}/httpd,g" %{SOURCE15} > httpd.service
+sed "s, at NAME@,prefork,g;s, at EXEC@,%{_sbindir}/httpd,g" %{SOURCE15} > httpd.service
 touch -r %{SOURCE15} httpd.service
 
 %install
@@ -509,6 +509,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/httpd/build/*.sh
 
 %changelog
+* Thu Apr 14 2011 Joe Orton <jorton at redhat.com> - 2.2.17-13
+- fix path expansion in service files
+
 * Tue Apr 12 2011 Joe Orton <jorton at redhat.com> - 2.2.17-12
 - add systemd service files (#684175, thanks to Jóhann B. Guðmundsson)
 


More information about the scm-commits mailing list