The Spanish government on Friday adopted a decree that aims to cap residential rent rises within the term of a contract ahead of a general election in April.