The Spanish government on Friday approved a temporary measure to cap the price of gas used for electricity production to an average EUR 50 (USD 51.9) per MWh for the next 12 months.