[OS-BUILD PATCH 0/2] Replace current awk logic in genspec.sh with a python script