#To build a rpm -

./buildPatchRPM -b
-- RPM Build is started --
Step 0. Description [Hot Patch]:ShortDescription default is Hot Patch
Step 1. Build number [0]:You need to create a fresh build with the fix and provide the build number here
Step 2. vIDM version [0]:For which version of vIDM we are providing this fix
Step 3. Provide the Source paths comma seprated: provide the directory path of all the files which are to be included in rpm. In case files are present in different location mentioned all the directory seprated by a comma. Make sure not to have any spaces after the comma.
Step 4. Provide the files name in <directory path> comma seprated: provide the filename here for the respective <directory path>. In case there are multiple file to be added for this directry put them seprated by a comma
executing rpmbuild
#########################

#clean the build directories before/after creating the rpm

./buildPatchRPM -c


####-----------------------------------------

example -

./buildPatchRPM -c
clean operation completed

./buildPatchRPM -b
-- RPM Build is started --
Step 0. Description [Hot Patch]:OptimizeAdGroupSave
Step 1. Build number [0]:5111191
Step 2. vIDM version [0]:2.5.1.0.3295
Step 3. Provide the Source paths comma seprated: /opt/vmware/horizon/workspace/webapps/SAAS/WEB-INF/lib/,/opt/vmware/horizon/workspace/webapps/AUDIT/WEB-INF/
Step 4. Provide the files name in /opt/vmware/horizon/workspace/webapps/SAAS/WEB-INF/lib/ comma seprated: connector-management-business-0.1.jar
Step 4. Provide the files name in /opt/vmware/horizon/workspace/webapps/AUDIT/WEB-INF/lib/ comma seprated: connector-management-api-0.1.jar
executing rpmbuild
#########################

./buildPatchRPM -c
clean operation completed

####----------------------------------------
