Bug 32419 - can't set macrofiles: ./rpmmacros in rpmrc
can't set macrofiles: ./rpmmacros in rpmrc
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-20 14:02 EST by Eric Sandeen
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-20 14:22:35 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)

  None (edit)
Description Eric Sandeen 2001-03-20 14:02:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-XFS i686)


Attempting to use an rpmmacros file in the current directory won't work by
appending :/.rpmmacros to the macrofiles: line in rpmrc

appending :rpmmacros DOES work

Reproducible: Always
Steps to Reproduce:
1. Edit /usr/lib/rpm/rpmrc to add :/.rpmmacros to the macrofiles: line
2. Run rpm, see if tags in ./rpmmacros are honored
3. Edit /usr/lib/rpm/rpmrc to add :rpmmacros to the macrofiles: line
4. Re-Run rpm, see if tags in ./rpmmacros are honored


Actual Results:  tags in ./rpmmacros are not honored in step 2 above, they
are honored in step 4 above

Expected Results:  I would expect :./rpmmacros to work

Apparently rpm is unable to parse :./rpmmacros, but can parse :rpmmacros in
the macrofiles: line of rpmrc
Comment 1 Eric Sandeen 2001-03-20 14:22:30 EST
This seems to have broken between rpm-4.0 and rpm-4.0.2
Comment 2 Jeff Johnson 2001-03-20 15:38:23 EST
Yup.

The files included in the colon separated macrofiles list are now individually
canonicalized, as
some other deviant path (in bugzilla if you care) broke if  the entire
macrofiles string itself
was canonicalized.

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