On Mon, May 31, Martin Wilck wrote:
In my experiments (which just involved updating suse-module-tools alone), rpm created the (new) .rpmsave files after invoking %post. Is that dependent on the rpm version, or some properties of the transaction, or just some random ordering?
Defined order ;) Look at pam.spec: %pre test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old %posttrans test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg)