[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 10/14] Convert NEWS to UTF-8



Added by Rich Jones for this rpmlint warning:

  libvirt.x86_64: W: file-not-utf8 /usr/share/doc/libvirt-0.6.0/NEWS

See:

  https://bugzilla.redhat.com/226055
---
 libvirt.spec.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index dcedbe0..2645a22 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -245,6 +245,9 @@ of recent versions of Linux (and other OSes).
 %prep
 %setup -q
 
+mv NEWS NEWS.old
+iconv -f ISO-8859-1 -t UTF-8 < NEWS.old > NEWS
+
 %build
 %if ! %{with_xen}
 %define _without_xen --without-xen
-- 
1.6.2.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]