Bug 14614 - in /usr/lib/rpm/macros: paths for utils are set to these of build[!]-platform
Summary: in /usr/lib/rpm/macros: paths for utils are set to these of build[!]-platform
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-25 14:03 UTC by mp
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-09-14 18:05:04 UTC
Embargoed:


Attachments (Terms of Use)

Description mp 2000-07-25 14:03:31 UTC
If I have some personal path settings during time of ``rpm -ba rpm.spec'',
these very personal paths find their way into the deployed
/usr/lib/rpm/macros.  So everybody ``inherits'' these paths, which are
of course generally wrong at rpm-runtime.

Default path settings for the target platform have to be used instead.

This is another situation, where a class model for hardware-platform,
operating system and distribution would clean-up the situation.
Then the ``distribution''-object would provide all the paths for its 
system utilities [+ some other properties].

Comment 1 Jeff Johnson 2000-07-25 17:19:47 UTC
Control for your path when building rpm. Otherwise, correct your configuration
after building.

Eventually, paths to executables will be in static per-platform configuration,
but there is as yet
insufficient need or utility in undertaking that effort.

Comment 2 Jeff Johnson 2000-12-30 19:31:57 UTC
This is an rpm configuration issue, and there is certainly sufficient mechanism
already within rpm
to control for paths to executables if you define macros in ~/.rpmmacros and/or
/etc/rpm/macros


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