Improve fedora:build_misc

It's much cleaner to save the environment instead of setting some
environment variables here and in some other build tasks.

Note that I haven't really tested this yet outside of irb (as I'm in the middle of my opensuse port), so better to test it before merging ;-)