Added logic to fix rpmnew errors
New file for restoring the states copy_jdk_configs_fixFiles.sh
copy_jdk_configs.lua enhanced to save where the old files were grabbed from
the necessary rpm changes are:
for post three new file:
if [ -f %{_libexecdir}/copy_jdk_configs_fixFiles.sh ] ; then
sh %{_libexecdir}/copy_jdk_configs_fixFiles.sh %{rpm_state_dir}/%{name}.%{_arch} %{_jvmdir}/%{sdkdir}
fi
For pretrans one modification:
arg = {"--currentjvm", "%{uniquesuffix}", "--jvmdir", "%{_jvmdir}", "--origname", "%{name}", "--origjavaver", "%{javaver}", "--arch", "%{_arch}", "--temp", "%{rpm_state_dir}/%{name}.%{_arch}"}
(added usage of temp)