Solaris/SUNWapoc.spec
changeset 6534 4edfefbe2a9f
parent 6488 1d86faa44023
child 6663 ffcbd6d6099b
--- a/Solaris/SUNWapoc.spec	Fri Jan 06 17:25:02 2006 +0000
+++ b/Solaris/SUNWapoc.spec	Fri Jan 06 17:27:09 2006 +0000
@@ -49,10 +49,6 @@
 %description 
 Sun Java(tm) Desktop System Configuration Agent
 
-%install
-
-cp %{_builddir}/apoc/packages/apoc_manager_tar/Solaris/setup ${RPM_BUILD_ROOT}/usr/share/webconsole/apoc/setup
-
 #------------------------------------------------------------------------------
 
 %package -n SUNWapbas
@@ -197,6 +193,10 @@
 make PLATFORM=%{PLATFORM} all
 
 
+%install
+
+cp %{_builddir}/apoc/packages/apoc_manager_tar/Solaris/setup ${RPM_BUILD_ROOT}/usr/share/webconsole/apoc/setup
+
 #==============================================================================
 #  Package Post(Un) Install Section
 #
@@ -399,6 +399,10 @@
 #==============================================================================
 
 %changelog
+* Fri jan 06 2006 - [email protected]
+- moved %install to after %build, needed because on non-standard
+  build dir (apoc instead of SUNWapoc-2.0)
+
 * Thu Dec 15 2005 - [email protected]
 - Removed the LdapLoginModule.jar file from the SUNWapm package