From 7f64894cd70fef1603bf88e72d082fff3dc3b03f Mon Sep 17 00:00:00 2001 From: phamt Date: Mon, 26 Sep 2011 20:53:25 +0000 Subject: [PATCH] Moved copy of web.pm and webportal.pm into %install. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/xCAT-UI.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-UI/xCAT-UI.spec b/xCAT-UI/xCAT-UI.spec index ff60d4266..a5ea2ae32 100644 --- a/xCAT-UI/xCAT-UI.spec +++ b/xCAT-UI/xCAT-UI.spec @@ -82,8 +82,8 @@ set -x %ifos linux # Copy xCAT plugins to /opt/xcat/lib/perl/xCAT_plugin - cp %{prefix}/ui/xcat/plugins/web.pm /opt/xcat/lib/perl/xCAT_plugin/ - cp %{prefix}/ui/xcat/plugins/webportal.pm /opt/xcat/lib/perl/xCAT_plugin/ + cp ui/xcat/plugins/web.pm $RPM_BUILD_ROOT%{prefix}/lib/perl/xCAT_plugin/ + cp ui/xcat/plugins/webportal.pm $RPM_BUILD_ROOT%{prefix}/lib/perl/xCAT_plugin/ /bin/ln -s /opt/xcat/bin/xcatclientnnr /opt/xcat/bin/webportal /etc/init.d/xcatd restart %else # AIX