[SDL/origin/f13: 5/6] Convert CREDITS to UTF-8
Petr Pisar
ppisar at fedoraproject.org
Tue Aug 3 10:59:20 UTC 2010
commit ba595e45ef8cc90a9709d7113126843e9b05de4d
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 f1b110a..67d75fe 100644
--- a/SDL.spec
+++ b/SDL.spec
@@ -74,6 +74,11 @@ static SDL applications.
%patch2 -p1 -b .disable_yasm
%patch3 -p1 -b .audiodriver
%patch4 -p1 -b .xio_error
+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
@@ -139,6 +144,7 @@ rm -rf %{buildroot}
license
- Apply SDL-1.2.14-xio_error-rh603984.patch (rh603984, sdl1009)
- Escape spec file comments
+- Convert CREDITS to UTF-8
* Wed Jun 23 2010 Hans de Goede <hdegoede at redhat.com> 1.2.14-5
- Don't crash when trying to exit because of an xio-error (rh603984, sdl1009)
More information about the scm-commits
mailing list