Summary: Fix RPM installation error for cloudstack-awsapi

Detail: getting "hard link not allowed for directory" due to line 321 in
cloud.spec. Changing to symlink.

Signed-off-by: Marcus Sorensen <[email protected]> 1361982798 -0700


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

Branch: refs/heads/noa/packaging_rpm_fixes
Commit: e2a16a12f98f06d7ffd7bba738c71161311b87ad
Parents: 78e8d18
Author: Marcus Sorensen <[email protected]>
Authored: Wed Feb 27 09:33:18 2013 -0700
Committer: Marcus Sorensen <[email protected]>
Committed: Wed Feb 27 09:33:18 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e2a16a12/packaging/centos63/cloud.spec
----------------------------------------------------------------------
diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec
index 05fdcec..eb378ce 100644
--- a/packaging/centos63/cloud.spec
+++ b/packaging/centos63/cloud.spec
@@ -318,7 +318,7 @@ fi
 
 %post awsapi
 if [ -d "%{_datadir}/%{name}-management" ] ; then
-   ln %{_datadir}/%{name}-bridge/webapps 
%{_datadir}/%{name}-management/webapps7080
+   ln -s %{_datadir}/%{name}-bridge/webapps 
%{_datadir}/%{name}-management/webapps7080
 fi
 
 #No default permission as the permission setup is complex

Reply via email to