From 067546312309fc7ae75ab362add376eb72419124 Mon Sep 17 00:00:00 2001 From: Bryan Kowal Date: Thu, 3 Oct 2013 16:14:20 -0500 Subject: [PATCH] Revert "Issue #2033 - pde and rpm build updates" Undo copying localization into etc at build time. This reverts commit 2cda5c37636a512f1a9ef3de04b0dac3ca31e120 [formerly 9a77e3553addd4c706ed1b4f385eb859735e589b] [formerly b344543d81aa5f7c05aa09f51649aa3eee54986c [formerly 33a92703044860182b07166ea87e79934ffb3065] [formerly 6023c61bca3800b0403ff51d9e3d53b8d7756e19] [formerly b344543d81aa5f7c05aa09f51649aa3eee54986c [formerly 33a92703044860182b07166ea87e79934ffb3065] [formerly 6023c61bca3800b0403ff51d9e3d53b8d7756e19] [formerly 9a77e3553addd4c706ed1b4f385eb859735e589b [formerly 6023c61bca3800b0403ff51d9e3d53b8d7756e19 [formerly dbdb2fc2b0bb6e2354a089fab0ffcaa924c398a1]]]]]. Former-commit-id: ab100bb5b167ae38ea7ec989cf0290cc9c781bfa [formerly a75ed2b0790b148e3e57103da568d52efe98c6fa] [formerly bb2e914c0076585a9a74a83f2b986c7bce942265] [formerly ab100bb5b167ae38ea7ec989cf0290cc9c781bfa [formerly a75ed2b0790b148e3e57103da568d52efe98c6fa] [formerly bb2e914c0076585a9a74a83f2b986c7bce942265] [formerly 9d47e7565d9f54abc86201fb60d28b3a64a49b37 [formerly bb2e914c0076585a9a74a83f2b986c7bce942265 [formerly f735b7bb3a0e23389be086d3582a2e0afdc95515]]]] Former-commit-id: 9d47e7565d9f54abc86201fb60d28b3a64a49b37 Former-commit-id: 020566233e6caaf1ea8dceb76dac6fb737e4a705 [formerly d4eba48f944894b2af0f0a0706c261ac340ca5f9] [formerly 4664dae5d08c4cc7ae160de4020c49d55f3b6503 [formerly 4d08d7a1c3669ee75c958ed7c1974207f3366bb1]] Former-commit-id: 68d2284d937f5ab15bf63a3e4489f789f257de56 [formerly 2f6791dc195d0447a629317578e69acb2f1898f7] Former-commit-id: 07a882ac489659132983b342bcbe0d42df92aef4 --- cave/build/customAssembly.xml.p2 | 80 ------------------- cave/build/p2-build.xml | 35 +------- .../Installer.cave-feature/component.spec | 15 ++-- 3 files changed, 7 insertions(+), 123 deletions(-) delete mode 100644 cave/build/customAssembly.xml.p2 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/*