Bug 76326 - --prefix/--relocate not working in 8.0
--prefix/--relocate not working in 8.0
Status: CLOSED DUPLICATE of bug 75550
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-19 22:42 EDT by Jesse Keating
Modified: 2008-05-01 11:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-10-31 11:33:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Sample SPEC file. RPM build from this file on 7.2 handles --prefix fine, build on 8.0, not so fine. (20.61 KB, text/plain)
2002-10-19 22:49 EDT, Jesse Keating
no flags Details

  None (edit)
Description Jesse Keating 2002-10-19 22:42:10 EDT
Description of problem:
Trying to use --prefix or --relocate when installing a relocatable package does
not work.  The package always uses the default prefix in the spec file.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  Create a spec file for an rpm that is relocatable
2.  rpm -ivh --prefix=/foo file.rpm
3.  observe the package igorning the --prefix option and defaulting to the
prefix in the spec file.
	

Actual Results:  The rpm seems to install to the prefix that is defined in the
.spec file, totally ignoring the command line argument.

Expected Results:  The rpm would install to the prefix issued.

Additional info:

I can take the same package and install it on a 7.2 system.  On the 7.2 system,
the --prefix argument is followed, and my package installs to  my prefix.  Not
so on 8.0
Comment 1 Jesse Keating 2002-10-19 22:49:08 EDT
Created attachment 81164 [details]
Sample SPEC file.  RPM build from this file on 7.2 handles --prefix fine, build on 8.0, not so fine.
Comment 2 Jason Merrill 2002-11-05 00:21:34 EST

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

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