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
This commit is contained in:
Bjørn Lie 2020-02-10 11:12:40 +00:00 committed by Git OBS Bridge
parent c8f2b437f5
commit 1364ef95a4
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 10 10:47:28 UTC 2020 - Frederic Crozat <fcrozat@suse.com>
- 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 <bjorn.lie@gmail.com>

View File

@ -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}