In general if you create a file in DOS and copy on to unix OS, it will add ^M characters, run dos2unix filename >filename1 to remove ^M characters at the end lines. -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Kory Hansen Sent: Wednesday, August 08, 2007 3:29 PM To: RPM Package Manager Subject: RE: %post script weirdness Jeff Johnson wrote: >rpm is not "adding" ^M, it's not deleting ^M's for you. >The spec file has embedded ^M characters. >Verify whether that is true, eliminate in the spec file. I thought that too, but I am editing the spec file with vi. I even did a search of the spec file for ^M characters. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mails are not encrypted and cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list