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
This seems to have broken between rpm-4.0 and rpm-4.0.2
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.