path for directory while doing rpm -ivh
hi
I have a script in which I am creating directory structure....
redhat
->BUILD
->RPMS
->SOURCES
->SPECS
->SRPMS
all these are directories under redhat directory.......
In script I want to do
rpm -ivh for my src.rpm and want that the tar.gz should go inside
redhat/SPECS.....so that finally I can do rpmbuild in same script...
How can I specify the directory path where I want the src.rpm to get install
and give me tar.gz at that directory?????
Pls help
|