motr.spec.in: add castxml into BuildRequires
Add castxml into BuildRequires on CentOS-8+.
@@ -70,7 +70,11 @@ BuildRequires: libtool
BuildRequires: make
BuildRequires: gcc
BuildRequires: gcc-c++
+%if %{rhel} <= 7
BuildRequires: gccxml
+%else
+BuildRequires: castxml
+%endif
BuildRequires: glibc-headers
BuildRequires: asciidoc
BuildRequires: libyaml-devel
