Bug 78898 - RPM --prefix does not work as expected.
Summary: RPM --prefix does not work as expected.
Status: CLOSED DUPLICATE of bug 75057
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-12-03 05:27 UTC by Hema
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2002-12-03 05:27:33 UTC

Attachments (Terms of Use)

Description Hema 2002-12-03 05:27:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; YComp

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):

How reproducible:

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 ( --

Additional info:

Comment 1 Jeff Johnson 2002-12-03 18:49:49 UTC

*** This bug has been marked as a duplicate of 75057 ***

Note You need to log in before you can comment on or make changes to this bug.