[radvd] Convert documentation into UTF-8

Petr Pisar ppisar at fedoraproject.org
Wed Apr 4 08:53:57 UTC 2012


commit 62c31789c170858f39b1a77856ba863ebed3ae32
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Apr 3 16:45:20 2012 +0200

    Convert documentation into UTF-8

 radvd.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/radvd.spec b/radvd.spec
index 373f06f..88516d3 100644
--- a/radvd.spec
+++ b/radvd.spec
@@ -32,6 +32,11 @@ services.
 
 %prep
 %setup -q
+for F in CHANGES; do
+    iconv -f iso-8859-1 -t utf-8 < "$F" > "${F}.new"
+    touch -r "$F" "${F}.new"
+    mv "${F}.new" "$F"
+done
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE" 


More information about the scm-commits mailing list