(maint) First attempt to add EL7 support to mock builder

This is one of the grossest abuses of ERB I've ever committed.