Bug 2847 - rpm -ba SPECS/specfile fails for non-UNIX format files.
rpm -ba SPECS/specfile fails for non-UNIX format files.
Status: CLOSED DEFERRED
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-15 18:13 EDT by ksanthan
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-18 18:20:31 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 ksanthan 1999-05-15 18:13:58 EDT
When the specfile has CR-LF as the line separator,
rpm gets confused and does not execute commands properly.

For example, if the command is:

  make

rpm attempts to execute:  make\r

Converting the spec file to UNIX format alleviates the
problem.  However, this is not always easily done, since
a user may desire to merely rebuild a SRC.RPM package.
Comment 1 Jeff Johnson 1999-05-15 18:16:59 EDT
At the current time, rpm runs only on machines where newline
is used as a line separator.

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