Bug 2847

Summary: rpm -ba SPECS/specfile fails for non-UNIX format files.
Product: [Retired] Red Hat Linux Reporter: ksanthan
Component: rpmAssignee: Jay Turner <jturner>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-18 22:20:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ksanthan 1999-05-15 22:13:58 UTC
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 22:16:59 UTC
At the current time, rpm runs only on machines where newline
is used as a line separator.