From Fedora Project Wiki

Revision as of 21:35, 4 June 2009 by Atorkhov (talk | contribs) (Created page with '= Proposal to explicitly allow dos2unix = In guidelines in common errors section https://fedoraproject.org/wiki/Packaging/Guidelines#Rpmlint_Errors there is the following phrase...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Proposal to explicitly allow dos2unix

In guidelines in common errors section https://fedoraproject.org/wiki/Packaging/Guidelines#Rpmlint_Errors there is the following phrase:

This error occurs because of DOS line breaks in a file. Fix it with sed
in the %prep section: %{__sed} -i 's/\r//' src/somefile -- DONT use
dos2unix, that can cause build fail on FC3.

Because FC3 is not supported for long time, I'm proposing to change it to:

This error occurs because of DOS line breaks in a file. Fix it with in
the %prep section with sed : %{__sed} -i 's/\r//' src/somefile or
dos2unix.