diff --git a/cave/build/customAssembly.xml.p2 b/cave/build/customAssembly.xml.p2
deleted file mode 100644
index b7c950882f..0000000000
--- a/cave/build/customAssembly.xml.p2
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/cave/build/p2-build.xml b/cave/build/p2-build.xml
index e77826595f..0b45464eef 100644
--- a/cave/build/p2-build.xml
+++ b/cave/build/p2-build.xml
@@ -32,9 +32,6 @@
-
-
@@ -416,40 +413,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/rpms/awips2.cave/Installer.cave-feature/component.spec b/rpms/awips2.cave/Installer.cave-feature/component.spec
index a3fa4d6a9b..e1c2652cb8 100644
--- a/rpms/awips2.cave/Installer.cave-feature/component.spec
+++ b/rpms/awips2.cave/Installer.cave-feature/component.spec
@@ -1,5 +1,4 @@
-%define _component_zip_file_name %{_component_feature}-linux.%{_build_arch}.zip
-%define _component_repo_zip_file_name %{_component_feature}-repo-linux.%{_build_arch}.zip
+%define _component_zip_file_name %{_component_feature}-repo-linux.%{_build_arch}.zip
#
# awips2-cave Spec File
#
@@ -42,7 +41,7 @@ if [ -d ${RPM_BUILD_ROOT} ]; then
rm -rf ${RPM_BUILD_ROOT}
fi
-mkdir -p ${RPM_BUILD_ROOT}
+mkdir -p ${RPM_BUILD_ROOT}/awips2/cave/.repository
CAVE_DIST_DIR="%{_baseline_workspace}/rpms/awips2.cave/setup/dist"
if [ ! -f ${CAVE_DIST_DIR}/%{_component_zip_file_name} ]; then
@@ -50,8 +49,8 @@ if [ ! -f ${CAVE_DIST_DIR}/%{_component_zip_file_name} ]; then
exit 1
fi
-unzip ${CAVE_DIST_DIR}/%{_component_zip_file_name} \
- -d ${RPM_BUILD_ROOT}
+cp ${CAVE_DIST_DIR}/%{_component_zip_file_name} \
+ ${RPM_BUILD_ROOT}/awips2/cave/.repository
%build
@@ -163,7 +162,7 @@ fi
# unzip the repository
cd /awips2/cave/.repository
cleanupUnzip
-unzip %{_component_repo_zip_file_name} > /dev/null 2>&1
+unzip %{_component_zip_file_name} > /dev/null 2>&1
RC=$?
if [ ${RC} -ne 0 ]; then
echo "ERROR: Unzip of repository FAILED."
@@ -249,7 +248,5 @@ rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(644,awips,fxalpha,755)
-%dir /awips2/cave/
-/awips2/cave/*
%dir /awips2/cave/.repository
-/awips2/cave/.repository/*
\ No newline at end of file
+/awips2/cave/.repository/*