diff --git a/itstool.changes b/itstool.changes index 9253c10..759c893 100644 --- a/itstool.changes +++ b/itstool.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 18 07:40:25 UTC 2019 - Yifan Jiang + +- BuildRequires python3-libxml2-python for SLE and Leap 15, which + are using older version libxml2. + ------------------------------------------------------------------- Tue Sep 17 16:53:41 UTC 2019 - suse+build@de-korte.org diff --git a/itstool.spec b/itstool.spec index b211f1c..6e8ee9e 100644 --- a/itstool.spec +++ b/itstool.spec @@ -26,8 +26,13 @@ URL: http://itstool.org Source: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2 BuildRequires: python3-base +%if 0%{?sle_version} +BuildRequires: python3-libxml2-python +Requires: python3-libxml2-python +%else BuildRequires: python3-libxml2 Requires: python3-libxml2 +%endif BuildArch: noarch %description