How can I find out the relocated path within rpm spec file

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

 



Hi.
  If I use rpm -ivh --prefix /root/test
package-name.rpm to install rpm package, is it
possible to retrieve the prefix used (/root/test) from
within the spec file. I require this because i need to
do some cleanup in the %post section and I need to
find out where the package is installed since it is a
relocateable package.

Thanks in advance
Shiva


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

_______________________________________________
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