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

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


commit 7dde3307f261ad9ca3eb76b16b5d132f3cb9b020
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Tue Aug 7 07:24:38 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 444d62a..a55f437 100644
--- a/jetty.spec
+++ b/jetty.spec
@@ -44,7 +44,7 @@
 
 Name:           jetty
 Version:        8.1.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Java Webserver and Servlet Container
 
 Group:          Applications/Internet
@@ -818,6 +818,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
@@ -1045,6 +1049,9 @@ groupdel %username &>/dev/null || :
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Tue Aug  7 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 8.1.5-2
+- Put runtime data in /run instead of /tmp
+
 * Wed Jul 18 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 8.1.5-1
 - Update to upstream version 8.1.5
 - Fix rpmlint warnings


More information about the scm-commits mailing list