Relocatable RPM package, access to --prefix value in %postun/%post section

Oliver Wulff owulff at progress.com
Mon Oct 5 11:34:57 UTC 2009


Hi there

I've built a relocatable RPM package which is installed like this:

sudo rpm -i --prefix=/app/test1 --force --nodeps test-2.0.0-1.i386.rpm
 
I need access to the passed value to the --prefix option (/app/test1) within the %postun and %post section of the spec file. Is there an option to get this value?

Thanks a lot for your help

Oliver

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20091005/7775842e/attachment-0001.html 


More information about the users mailing list