[fonts-KOI8-R] Fix rpmlint warnings file-not-utf8 and doc-file-depdendency

Parag Nemade pnemade at fedoraproject.org
Fri Feb 20 08:21:37 UTC 2015


commit cfb33897abcd198170a7cd9b0676b2380e066c87
Author: Parag Nemade <pnemade at redhat.com>
Date:   Fri Feb 20 13:49:24 2015 +0530

    Fix rpmlint warnings file-not-utf8 and doc-file-depdendency

 fonts-KOI8-R.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/fonts-KOI8-R.spec b/fonts-KOI8-R.spec
index e7d16eb..4d65d41 100644
--- a/fonts-KOI8-R.spec
+++ b/fonts-KOI8-R.spec
@@ -55,6 +55,13 @@ cp -a Cyrillic/100dpi ./
 cp %{SOURCE1} ./Makefile
 %patch -p1
 
+pushd doc
+iconv -f iso8859-1 -t utf-8 INSTALL.ru.txt > INSTALL.ru.txt.conv \
+&& mv INSTALL.ru.txt.conv INSTALL.ru.txt
+
+chmod 644 *.pl
+popd
+
 %build
 make all
 


More information about the scm-commits mailing list