[Bug 700832] Review Request: liblogging - An easy to use, portable, open source library for system logging

bugzilla at redhat.com bugzilla at redhat.com
Sat Apr 30 08:24:44 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=700832

--- Comment #3 from Jussi Lehtola <jussi.lehtola at iki.fi> 2011-04-30 04:24:43 EDT ---
Instead of using
 %{__sed} -i 's/\r//' COPYING
 %{__sed} -i 's/\r//' AUTHORS
 %{__sed} -i 's/\r//' ChangeLog
 %{__sed} -i 's/\r//' README
to convert EOLs, please use e.g.
 for file in COPYING AUTHORS ChangeLog README; do
  sed -i 's/\r//' $file > $file.new && \
  touch -r $file $file.new && \
  mv $file.new $file
 done
which preserves time stamps.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list