Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 108669 - rpmbuild choke on files ending with % listed in file.list (%files -f file.list)
rpmbuild choke on files ending with % listed in file.list (%files -f file.list)
Product: Red Hat Linux
Classification: Retired
Component: rpm-build (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2003-10-30 19:16 EST by Richard Prescott
Modified: 2007-03-27 00:11 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-26 13:22:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard Prescott 2003-10-30 19:16:33 EST
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.

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Jeff Johnson 2003-12-26 13:22:00 EST
% is used as a marker for macro expansion, escape
(as in rewrite as %%) if you absolutely must have % in a file name.

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