The Swiss parliament has approved legal changes on climate protection and a draft bill designed to make the installation of solar panels on new buildings mandatory as well as ease rules for new solar plants in the alpine region.