diff --git a/cppreference-doc.changes b/cppreference-doc.changes index b6ae8b4..df18f7c 100644 --- a/cppreference-doc.changes +++ b/cppreference-doc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 15 02:54:34 UTC 2022 - Atri Bhattacharya + +- Add BuildRequires: python3-cssutils for all openSUSE versions, + but specifically require version 2.0.0 and above for oS 1550 to + avoid build failures. + ------------------------------------------------------------------- Wed Aug 10 19:53:18 UTC 2022 - Atri Bhattacharya diff --git a/cppreference-doc.spec b/cppreference-doc.spec index 1299b95..eeee0f4 100644 --- a/cppreference-doc.spec +++ b/cppreference-doc.spec @@ -27,6 +27,12 @@ Source0: https://github.com/PeterFeicht/%{name}/releases/download/v%{vers BuildRequires: devhelp BuildRequires: fdupes BuildRequires: libqt5-qttools +%if 0%{?suse_version} < 1550 +BuildRequires: python3-cssutils +%else +# At least version 2.0.0 of cssutils is required for building on oS 1550 +BuildRequires: python3-cssutils >= 2.0.0 +%endif BuildRequires: python3-lxml BuildRequires: python3-premailer BuildArch: noarch