[jetty/f17] Put runtime data in /run instead of /tmp

Mikolaj Izdebski mizdebsk at fedoraproject.org
Tue Aug 7 06:40:22 UTC 2012


commit 12474aecec001b4aec535e2e1693b37447731d5b
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Tue Aug 7 07:25:59 2012 +0200

    Put runtime data in /run instead of /tmp

 jetty.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/jetty.spec b/jetty.spec
index bcfaa0c..d564939 100644
--- a/jetty.spec
+++ b/jetty.spec
@@ -44,7 +44,7 @@
 
 Name:           jetty
 Version:        8.1.2
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Java Webserver and Servlet Container
 
 Group:          Applications/Internet
@@ -774,6 +774,10 @@ ln -s %{appdir} %{buildroot}%{homedir}/webapps
 
 rm %{buildroot}%{homedir}/*.txt  %{buildroot}%{homedir}/*.html
 
+# Here jetty is going to put its runtime data.
+# See: https://bugzilla.redhat.com/show_bug.cgi?id=845993
+ln -sf %{rundir} %{buildroot}%{homedir}/work
+
 # following seem like config directories
 for cdir in overlays;do
    mv %{buildroot}%{homedir}/$cdir %{buildroot}/%{confdir}/$cdir
@@ -1001,6 +1005,9 @@ groupdel %username &>/dev/null || :
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Tue Aug  7 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 8.1.2-10
+- Put runtime data in /run instead of /tmp
+
 * Wed Jun 13 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 8.1.2-9
 - Fix jetty being accidentaly enabled after update by default
 - Resolves: #831280


More information about the scm-commits mailing list