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}