Some kind of medium term move to a more federal system perhaps.
In 2010 the Constitional Court struck down parts of the 2006 autonomy statute, saying that Catalonia should not be a nation within Spain. The rigidity of the constitution is central to the issue. Spain is not suffering just a secessionist movement but also a constitutional crisis. I can’t see the government bending.