[openldap] rpmlint warnings: doc in non utf-8 encoding

jvcelak jvcelak at fedoraproject.org
Tue Nov 1 14:40:11 UTC 2011


commit 62f9c65cff60f3ab81546a05a89690c1744269c2
Author: Jan Vcelak <jvcelak at redhat.com>
Date:   Thu Oct 27 13:06:27 2011 +0200

    rpmlint warnings: doc in non utf-8 encoding

 openldap.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/openldap.spec b/openldap.spec
index 0ed9fbe..4cc6a40 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -164,6 +164,12 @@ done
 ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays
 mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd
 
+# fix documentation encoding
+for filename in doc/drafts/draft-ietf-ldapext-acl-model-xx.txt; do
+	iconv -f iso-8859-1 -t utf-8 "$filename" > "$filename.utf8"
+	mv "$filename.utf8" "$filename"
+done
+
 popd
 
 # setup tree for openldap with evolution-specific patches


More information about the scm-commits mailing list