A Very Basic RPM Doubt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux