Work around rpm posthook bug