[SDL/f12/master] Convert CREDITS to UTF-8

Petr Pisar ppisar at fedoraproject.org
Tue Aug 3 12:46:32 UTC 2010


commit 7997d4b8ba90c7324cb5e33d214fa9360a1b45c9
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Aug 2 15:47:03 2010 +0200

    Convert CREDITS to UTF-8

 SDL.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/SDL.spec b/SDL.spec
index ef4bfc8..a7ad61e 100644
--- a/SDL.spec
+++ b/SDL.spec
@@ -94,6 +94,11 @@ static SDL applications.
 %patch30 -p1 -b .rh484362
 %patch31 -p1 -b .rh487720
 %patch32 -p1 -b .xio_patch
+for F in CREDITS; do 
+    iconv -f iso8859-1 -t utf-8 < "$F" > "${F}.utf"
+    touch --reference "$F" "${F}.utf"
+    mv "${F}.utf" "$F"
+done
 
 %build
 aclocal
@@ -157,6 +162,7 @@ rm -rf %{buildroot}
 - Remove useless src/joystick/darwin/10.3.9-FIX/IOHIDLib.h because of APSL-2.0
   license
 - Escape spec file comments
+- Convert CREDITS to UTF-8
 
 * Wed Mar 24 2010 Thomas Woerner <twoerner at redhat.com> 1.2.13-11
 - added repackage.sh script to remove joyos2,h and symbian.zip because of


More information about the scm-commits mailing list