Bug 35868

Summary: RFE: rpm should ingnore CR in spec files
Product: [Retired] Red Hat Linux Reporter: Dag Wieers <dag>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED UPSTREAM QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
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: 2005-09-29 21:43:23 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 Dag Wieers 2001-04-13 12:27:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-ac3 i686; Nav)


RPM doesn't handle SPEC-files in a DOS textfile format, although this could
be the expected behaviour, the error it returns is very obscure and
mind-boggling at first sight.

In a shell you get the following error (because of the non-ascii output):

+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ 
: command not found926: 
error: Bad exit status from /var/tmp/rpm-tmp.34926 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.34926 (%prep)


Reproducible: Always
Steps to Reproduce:
1. Simply convert your SPEC file to the DOS textfile format
2. (in vi: set ff=dos)
3.
	

Expected Results:  RPM should tell me it is in DOS textfile format, or it
should silently accept it and process it.

Comment 1 Bill Nottingham 2005-09-29 21:43:23 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of
response.

For RPM issues, please try a current release such as Fedora Core 4; if bugs
persist, please open a new issue.