[PR] Replace duplicate spine version function with other template builder function