Red Hat Bugzilla – Bug 108669
rpmbuild choke on files ending with % listed in file.list (%files -f file.list)
Last modified: 2007-03-27 00:11:22 EDT
Description of problem:
In a .spec file, when using %files -f file.list, if one of the files in
file.list finish with a %, rpmbuild choke on this file. I know it is unusual
but it happens (to me at least).
Version-Release number of selected component (if applicable):
rpm-build-4.2-0.69 on a fresh installed machines + updates.
I didn't test if % is contain within the file neither if the file list is embbed
in the .spec.
Steps to Reproduce:
% is used as a marker for macro expansion, escape
(as in rewrite as %%) if you absolutely must have % in a file name.