diff --git a/OpenShadingLanguage.changes b/OpenShadingLanguage.changes index 5b1e031..a3808d7 100644 --- a/OpenShadingLanguage.changes +++ b/OpenShadingLanguage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 24 17:13:32 UTC 2022 - Hans-Peter Jansen + +- Fix build by requiring llvm and clang 12 versions + ------------------------------------------------------------------- Sun Apr 10 10:06:53 UTC 2022 - Dirk Müller diff --git a/OpenShadingLanguage.spec b/OpenShadingLanguage.spec index 9cbeb39..c9e63ff 100644 --- a/OpenShadingLanguage.spec +++ b/OpenShadingLanguage.spec @@ -34,7 +34,14 @@ Source1: https://creativecommons.org/licenses/by/3.0/legalcode.txt#/CC-BY BuildRequires: OpenEXR-devel BuildRequires: OpenImageIO BuildRequires: bison -BuildRequires: clang-devel >= 7 +%if 0%{suse_version} > 1500 +# llvm 13 removed some interfaces +BuildRequires: clang12-devel +BuildRequires: llvm12-devel +%else +BuildRequires: clang-devel > 7 +BuildRequires: llvm-devel > 7 +%endif BuildRequires: cmake >= 3.12 BuildRequires: flex BuildRequires: gcc-c++