I've started a web page on this topic. It is currently at the end of http://qa.mandrakesoft.com/twiki/bin/view/Main/PackagingTask as i didn't found how to create a new page...
Anyway, it seems to be more productive to discuss on cooker :-) The problem i have is once the new apache-specific config file has been inserted in /etc/httpd/conf.d, how to reload apache configuration correctly ? The current rpm-helper %_post_service and %_pre_service macros are supposed to add a new service, which is not the case here. JMD use the following for apache2 itself: if [ -e /usr/sbin/ADVXctl ]; then /usr/sbin/ADVXctl update;fi However, i don't see the need to test for /usr/sbin/ADVXctl presence, as it is needed by package dependencies. Moreover, it is not to be done for all post/postun, as simple upgrade doesn't need to reload change, only first installation and removal. Sofar, i've used the following: %post if [ $1 -eq 1 ]; then /sbin/service httpd graceful fi %postun if [ $1 -eq 0 ]; then /sbin/service httpd graceful fi Is there anything better ? Could this be turned into some additional rpm macro ? -- The speed with which components become obsolete is directly proportional to the price of the component. -- Murphy's Computer Laws n°9