Lis Maria
2007-08-01 11:12:38 UTC
Hi
I have a doubt which seems to be very basic. I have done few RPM building
and deployments and may be i just missed this point somewhere.
When we give rpmbuild -ba <spec file>, this command executes the
%prep,%build and %install sections mentioned in the SPEC file and also
created the binary and source RPMs..right???
Likewise, when we give rpm -Uvh <the binay rpm name>, how does the RPM know
that it has to execute the %post section after installing the RPM???
Thanks,
Lis Thomas
I have a doubt which seems to be very basic. I have done few RPM building
and deployments and may be i just missed this point somewhere.
When we give rpmbuild -ba <spec file>, this command executes the
%prep,%build and %install sections mentioned in the SPEC file and also
created the binary and source RPMs..right???
Likewise, when we give rpm -Uvh <the binay rpm name>, how does the RPM know
that it has to execute the %post section after installing the RPM???
Thanks,
Lis Thomas