SPECS: jira-enterprise.spec - context file must be writeable by tomcat

pawelz pawelz at pld-linux.org
Tue Apr 14 12:15:26 CEST 2009


Author: pawelz                       Date: Tue Apr 14 10:15:26 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- context file must be writeable by tomcat

---- Files affected:
SPECS:
   jira-enterprise.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/jira-enterprise.spec
diff -u SPECS/jira-enterprise.spec:1.11 SPECS/jira-enterprise.spec:1.12
--- SPECS/jira-enterprise.spec:1.11	Tue Apr 14 11:45:03 2009
+++ SPECS/jira-enterprise.spec	Tue Apr 14 12:15:21 2009
@@ -6,7 +6,7 @@
 Summary:	JIRA bug and issue tracker
 Name:		jira-enterprise
 Version:	3.13.3
-Release:	0.2
+Release:	0.3
 License:	Proprietary, not distributable
 Group:		Networking/Daemons/Java/Servlets
 Source0:	http://www.atlassian.com/software/jira/downloads/binary/atlassian-%{name}-%{version}.tar.gz
@@ -52,8 +52,8 @@
 
 # configuration
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/jira,%{_sharedstatedir}/tomcat/conf/Catalina/localhost}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/jira/tomcat-context.xml
-ln -s %{_sysconfdir}/jira/tomcat-context.xml $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml 
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml
+ln -s %{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml $RPM_BUILD_ROOT%{_sysconfdir}/jira/tomcat-context.xml
 mv $RPM_BUILD_ROOT%{_datadir}/jira/WEB-INF/classes/log4j.properties $RPM_BUILD_ROOT%{_sysconfdir}/jira/log4j.properties
 ln -s %{_sysconfdir}/jira/log4j.properties $RPM_BUILD_ROOT%{_datadir}/jira/WEB-INF/classes/log4j.properties
 
@@ -71,8 +71,8 @@
 %{_datadir}/jira
 %dir %{_sysconfdir}/jira
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jira/log4j.properties
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jira/tomcat-context.xml
-%{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml
+%{_sysconfdir}/jira/tomcat-context.xml
+%config(noreplace) %verify(not md5 mtime size) %attr(2775,root,tomcat) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/jira.xml
 %attr(2775,root,servlet) %dir %{_sharedstatedir}/jira
 %attr(2775,root,servlet) %dir %{_sharedstatedir}/jira/jiradb
 %attr(2775,root,servlet) %dir %{_sharedstatedir}/jira/index
@@ -88,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/04/14 10:15:21  pawelz
+- context file must be writeable by tomcat
+
 Revision 1.11  2009/04/14 09:45:03  pawelz
 - install context as symlink in tomcat configuration
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jira-enterprise.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list