Red Hat Bugzilla – Bug 78898
RPM --prefix does not work as expected.
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; YComp 22.214.171.124)
Description of problem:
I am using Redhat Linux 8.0 and I was trying to build my own package which
consists of few shell scripts. I created a relocatable package which allows the
user to specify the location where it needs to be installed. I was able to
create the package. But during installation when I tried to install using --
prefix option, the package did not install in the location specified by me, but
it installed in the default directory specified while building. Please provide
the fix for the same at the earliest.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a relocatable package by specifying "Prefix:" in the spec file.
2.Create the package .rpm
3.Use --prefix when you install.
Actual Results: When I tried the above steps, it installed in the default
location as specified in the package.
Expected Results: Actually, since it is a relocatable package, it should have
installed in the location specified by me at the time of installation ( --
*** This bug has been marked as a duplicate of 75057 ***