[Rpm-maint] sed a file on rpm install - where in the spec?
haisenko at comdasys.com
Fri Feb 29 14:52:05 UTC 2008
On Friday 29 February 2008, Tom Brown wrote:
> As part of an rpm that i am making during the install i would like to
> sed a file, in this case sendmail.cf. I thought this went in the
> %install however even though the rpm builds it seems this sed is
> executed on the machine thats building the rpm and not on th box that
> the rpm get installed onto.
> Can anyone offer any tips as google is not showing me the way.
You want the %post section.
Rüdesheimer Str. 7
Tel.: +49 (0)89 548 433 321
More information about the Rpm-maint