[Distutils] distutils bdist_rpm and %postun section of spec file

Michał Klich michal at michalklich.com
Fri Sep 11 18:55:09 CEST 2009


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-simple-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?

-- 
Michał Klich

klich.michal at gmail.com
michal at michalklich.com
http://www.michalklich.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090911/51056d83/attachment.htm>


More information about the Distutils-SIG mailing list