|
Hi All,
I am new to RPM package building.I have
written a spec file for packaging my software.The software is a servlets based
webserver.In the %install tag I place the installation script of my servlet
programs.And then change some details in the apache and tomcat configuration
files since it is needed by my servlets.
When I build the package with
the rpm -ba mypfg.spec command the
instructions under the %install tag executes and the rpm file is
generated.But when I use the generated rpm file to install it using the rpm -ivh
mypkg.rpm then the %install portion is not executed.
Is this how rpm works or am I missing out
anything.Please do explain me how the %install part works during building(rpm
-ba specfile) and installing(rpm -ivh genrpmfile).
-Alexius Luke
|