Spec file fixes for opensuse, preun macro, conditionals.

Fixes #6446