Hi, as rule of thumb (followed now by all major distros) you should not put any script in %postun, %postinst etc sections.
Regards, Antonio > Hello, > I am looking for some advise in creating rpm package using bdist_rpm. > I have managed to create post_install part using information > http://stackoverflow.com/questions/1321270/how-to-extend-distutils-with-a-s >imple-post-install-script Now i would like to add some code to %postun part > of spec file to revert changes done by my post_install command. > Is there a way to add it in setup.py or do i have to manually edit spec > file? _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig