incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject [19/20] git commit: refs/heads/noa/packaging_rpm_fixes - symlink fix to log4j-cloud.xml problem in rpm
Date Thu, 28 Feb 2013 14:56:03 GMT
symlink fix to log4j-cloud.xml problem in rpm


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/306f910f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/306f910f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/306f910f

Branch: refs/heads/noa/packaging_rpm_fixes
Commit: 306f910f6c31d9b2538e801c8137b8b623ecd3ad
Parents: f4c62a8
Author: Noa Resare <noa@spotify.com>
Authored: Thu Feb 28 15:20:03 2013 +0100
Committer: Noa Resare <noa@spotify.com>
Committed: Thu Feb 28 14:55:11 2013 +0000

----------------------------------------------------------------------
 packaging/centos63/cloud.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/306f910f/packaging/centos63/cloud.spec
----------------------------------------------------------------------
diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec
index eb378ce..e7f1c31 100644
--- a/packaging/centos63/cloud.spec
+++ b/packaging/centos63/cloud.spec
@@ -228,6 +228,10 @@ for name in db.properties log4j-cloud.xml tomcat6-nonssl.conf tomcat6-ssl.conf
s
   mv ${RPM_BUILD_ROOT}%{_datadir}/%{name}-management/webapps/client/WEB-INF/classes/$name
\
     ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/management/$name
 done
+
+ln -s %{_sysconfdir}/%{name}/management/log4j-cloud.xml \
+    ${RPM_BUILD_ROOT}%{_datadir}/%{name}-management/webapps/client/WEB-INF/classes/log4j-cloud.xml
+
 mv ${RPM_BUILD_ROOT}%{_datadir}/%{name}-management/webapps/client/WEB-INF/classes/context.xml
\
     ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/management/Catalina/localhost/client
 


Mime
View raw message