Bug 4078 - can't define multi-line macros in spec file
can't define multi-line macros in spec file
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-16 17:53 EDT by Bill Nottingham
Modified: 2014-03-16 22:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-07-16 17:53:56 EDT
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 Bill Nottingham 1999-07-16 17:53:56 EDT
In a macro file, the following is legal:

%foo \
  this is a test \
  of multiline macros

However, attempting to do the same thing in a spec file:

%define foo \
   this is a test \
   of multiline macros

gives:
 1>   %define^foo \
  0< (empty)
  0<   this is a test \
line 31: Unknown tag:   this is a test \
Comment 1 Bill Nottingham 2000-08-22 12:39:02 EDT
works now.

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