Bug 75550
Summary: | --relocate is ignored & RPM_INSTALL_PREFIX isn't defined | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Todd Allen <redhatbugzillaold> | ||||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 8.0 | CC: | ashishash_gandhi, chris.ricker, chuck, ctalk, dan, jason, jim.fisher, sandor.szabo, techinfo | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2002-11-16 20:10:40 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Todd Allen
2002-10-09 20:44:40 UTC
Created attachment 79705 [details]
Makefile
Created attachment 79706 [details]
"it" rpm spec
*** Bug 76326 has been marked as a duplicate of this bug. *** *** Bug 77967 has been marked as a duplicate of this bug. *** *** Bug 77433 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of 75057 *** --relocate is/was broken in rpm-4.1. This is now fixed in rpm-4.2 Added for folks linking here from ActiveState download pages hi This is my spec file which i used to create rpm---- %define VCS ashish Provides: /%{VCS} Prefix: /etc%{provides} %files %{prefix}/conf/sample_WebSphere5/main.cf %{prefix}/conf/sample_WebSphere5/WebSphere5Types.cf /opt%{provides}/bin/WebSphere5/monitor /opt%{provides}/bin/WebSphere5/WebSphere5.pm /opt%{provides}/bin/WebSphere5/WebSphere5.xml ------------------- i had problem for using multiple prefix and in relocations in my file list i had directory structure such as follows /etc/ashish/conf/sample_WebSphere5/main.cf /etc/ashish/conf/sample_WebSphere5/WebSphere5Types.cf /opt/ashish/bin/WebSphere5/monitor /opt/ashish/bin/WebSphere5/WebSphere5.pm /opt/ashish/bin/WebSphere5/WebSphere5.xml so i had the problem of multiple relocations i wanted to relocate /etc/ashish/* to /etc/gandhi/* and /opt/ashish/* to /opt/gandhi/*. with the rpm -install time i had problem in using multiple prefixes so with above solution it worked well i typed the commands as rpm -i --relocate /opt/ashish=/opt/gandhi --relocate /etc/ashish=/etc/gandhi <pkgname>.rpm it worked as wll as rpm -i <pkgname>.rpm worked thankx ashish gandhi |