summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2011-04-14 16:44:53 +0100
committerJoe Orton <jorton@redhat.com>2011-04-14 16:44:53 +0100
commitdf147d55d0e1710a308096f170d9c4980ff32191 (patch)
tree3afcaff913d43954518ae4d8e7d285cf770bfe14
parentbd3365ed3ec3f117b8c344903c39e55df14aee48 (diff)
fix path expansion in service files
-rw-r--r--httpd.spec7
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,@NAME@,prefork,g;s,@EXEC@,%{sbindir}/httpd,g" %{SOURCE15} > httpd.service
+sed "s,@NAME@,prefork,g;s,@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@redhat.com> - 2.2.17-13
+- fix path expansion in service files
+
* Tue Apr 12 2011 Joe Orton <jorton@redhat.com> - 2.2.17-12
- add systemd service files (#684175, thanks to Jóhann B. Guðmundsson)