From 1364ef95a49b040b0050d41c7b3d384370157b30b8756f1aff4d2a2807b88e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 10 Feb 2020 11:12:40 +0000 Subject: [PATCH] Accepting request 772645 from home:fcrozat:branches:GNOME:Factory - Set encoding before building to fix a build error in SLE. - Adapt BuildRequires for SLE15 / Leap 15.x. OBS-URL: https://build.opensuse.org/request/show/772645 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-doc-utils?expand=0&rev=91 --- gnome-doc-utils.changes | 6 ++++++ gnome-doc-utils.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/gnome-doc-utils.changes b/gnome-doc-utils.changes index 7139ef4..8eb31fb 100644 --- a/gnome-doc-utils.changes +++ b/gnome-doc-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 10 10:47:28 UTC 2020 - Frederic Crozat + +- Set encoding before building to fix a build error in SLE. +- Adapt BuildRequires for SLE15 / Leap 15.x. + ------------------------------------------------------------------- Thu Feb 6 07:30:41 UTC 2020 - Bjørn Lie diff --git a/gnome-doc-utils.spec b/gnome-doc-utils.spec index f54cf94..4a07c9d 100644 --- a/gnome-doc-utils.spec +++ b/gnome-doc-utils.spec @@ -32,7 +32,11 @@ Patch1: gnome-doc-utils-port-python3.patch BuildRequires: docbook_4 BuildRequires: fdupes BuildRequires: intltool +%if %suse_version > 1500 BuildRequires: python3-libxml2 +%else +BuildRequires: python3-libxml2-python +%endif # needed for xmllint BuildRequires: libxml2-tools BuildRequires: libxslt-devel @@ -89,6 +93,7 @@ free-form XML documents and outputs gettext compatible POT files. translation-update-upstream %build +export LANG=C.UTF-8 %configure \ --disable-scrollkeeper \ %{nil}