packages: jira-enterprise/jira-enterprise.spec, jira-enterprise/jira-enterp...

pawelz pawelz at pld-linux.org
Fri Oct 23 09:52:06 CEST 2009


Author: pawelz                       Date: Fri Oct 23 07:52:06 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- dropped log4j-properties.patch. It is better to use sed in this case.

---- Files affected:
packages/jira-enterprise:
   jira-enterprise.spec (1.21 -> 1.22) , jira-enterprise-log4j-properties.patch (1.2 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/jira-enterprise/jira-enterprise.spec
diff -u packages/jira-enterprise/jira-enterprise.spec:1.21 packages/jira-enterprise/jira-enterprise.spec:1.22
--- packages/jira-enterprise/jira-enterprise.spec:1.21	Thu Oct 22 16:26:39 2009
+++ packages/jira-enterprise/jira-enterprise.spec	Fri Oct 23 09:52:00 2009
@@ -27,7 +27,6 @@
 Source3:	%{name}-entityengine.xml
 Source4:	%{name}-application.properties
 Source5:	%{name}-README.PLD
-Patch0:		%{name}-log4j-properties.patch
 URL:		http://www.atlassian.com/software/jira/default.jsp
 BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
@@ -47,7 +46,9 @@
 
 %prep
 %setup -q -n atlassian-%{name}-%{version} -a1
-%patch0 -p1
+
+# set paths for logs
+sed -i 's,^\(log4j\.appender\.[a-z]*\.File\)=\(.*\)$,\1=/var/log/jira/\2,' webapp/WEB-INF/classes/log4j.properties
 
 cp %{SOURCE3} edit-webapp/WEB-INF/classes/entityengine.xml
 cp %{SOURCE4} edit-webapp/WEB-INF/classes/jira-application.properties
@@ -110,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2009/10/23 07:52:00  pawelz
+- dropped log4j-properties.patch. It is better to use sed in this case.
+
 Revision 1.21  2009/10/22 14:26:39  pawelz
 - fixed %install
 
================================================================

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



More information about the pld-cvs-commit mailing list