commit 3d111b039457c59ab8ec41e706da0485a8bbb52c
Author: Michal Srb <msrb(a)redhat.com>
Date: Tue Apr 1 13:54:58 2014 +0200
Allow symlinking
context.xml | 3 +++
jenkins.spec | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/context.xml b/context.xml
new file mode 100644
index 0000000..3ac5284
--- /dev/null
+++ b/context.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/jenkins" allowLinking="true">
+</Context>
diff --git a/jenkins.spec b/jenkins.spec
index d7af4ea..cc80d23 100644
--- a/jenkins.spec
+++ b/jenkins.spec
@@ -5,7 +5,7 @@
Name: jenkins
Version: 1.557
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An extendable open source continuous integration server
# The project's primary license is MIT
@@ -26,6 +26,7 @@ Source2: CDDL-LICENSE
# taken from core/src/main/java/hudson/markup/EbayPolicy.java
Source3: BSD-LICENSE
Source4: jenkins-sysconfig
+Source5: context.xml
# we don't have legacy acegi security framework in Fedora
#Patch0: use-spring-security.patch
@@ -549,6 +550,8 @@ popd
install -d -m 755 %{buildroot}%{_sysconfdir}/sysconfig
cp -p %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/tomcat@%{name}
+
+cp -p %{SOURCE5} %{buildroot}/%{homedir}/webapp/META-INF/context.xml
%endif # bootstrap
@@ -575,6 +578,9 @@ cp -p %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/tomcat@%{name}
%doc LICENSE.txt
%changelog
+* Tue Apr 01 2014 Michal Srb <msrb(a)redhat.com> - 1.557-2
+- Allow symlinking
+
* Tue Apr 01 2014 Michal Srb <msrb(a)redhat.com> - 1.557-1
- Update to upstream version 1.557
Show replies by date