Spain took steps on Friday to cap the government's growing debt to the energy sector, including ending a link between power tariffs and the consumer price index and restricting pricing options for