[Rpm-maint] rpm install - sed file - rpmsave for rollback
tom at ng23.net
Mon Mar 3 15:33:14 UTC 2008
Earlier i mentioned how i sed a file on installation of an rpm - This
all works perfectly.
I now wonder how i can mark that changed file, which did not come from
the package that seds it, so that if i remove that rpm the changes are
ie - i install package X that changes the sendmail.cf and sets a smart
host to my choice. If i then remove package X the sendmail.cf file gets
I presume i do this by having %config(noreplace) /etc/mail/sendmail.cf
but can i have that line as the only entry in the %files section?
More information about the Rpm-maint