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/456fefe5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/456fefe5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/456fefe5 Branch: refs/heads/affinity_groups Commit: 456fefe543e5274e7393d65d9bc21d8043bfce88 Parents: 3bdcf6f Author: Marcus Sorensen <[email protected]> Authored: Wed Feb 27 09:33:18 2013 -0700 Committer: Prachi Damle <[email protected]> Committed: Thu Mar 14 15:13:30 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/456fefe5/packaging/centos63/cloud.spec ---------------------------------------------------------------------- diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec index 0c5e615..e345679 100644 --- a/packaging/centos63/cloud.spec +++ b/packaging/centos63/cloud.spec @@ -317,7 +317,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
