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.