[jenkins] Symlink tomcat's work dir

Michal Srb msrb at fedoraproject.org
Tue Apr 1 06:07:41 UTC 2014


commit 22846e9900946d568c160d3e73b53267ddddd549
Author: Michal Srb <msrb at redhat.com>
Date:   Mon Mar 31 16:05:23 2014 +0200

    Symlink tomcat's work dir

 jenkins.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/jenkins.spec b/jenkins.spec
index 7358d99..1c26477 100644
--- a/jenkins.spec
+++ b/jenkins.spec
@@ -5,7 +5,7 @@
 
 Name:           jenkins
 Version:        1.549
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        An extendable open source continuous integration server
 
 # The project's primary license is MIT
@@ -545,7 +545,7 @@ popd
 # symlink the webapp to /var/lib/tomcats/jenkins
 # so we can run it via "systemctl start tomcat at jenkins"
 pushd %{buildroot}/%{jenkins_catalina_base}
-    for i in conf lib logs; do
+    for i in conf lib logs work; do
         ln -s %{_datadir}/tomcat/$i $i
     done
 
@@ -580,6 +580,9 @@ cp -p %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/tomcat@%{name}
 %doc LICENSE.txt
 
 %changelog
+* Mon Mar 31 2014 Michal Srb <msrb at redhat.com> - 1.549-7
+- Symlink tomcat's work dir
+
 * Thu Mar 27 2014 Michal Srb <msrb at redhat.com> - 1.549-6
 - Unbundle yui
 - Install proper sysconfig


More information about the scm-commits mailing list