Remove reference to %{clang_resource_dir_readonly}

This macro has been removed in LLVM 17.0.0.
This commit is contained in:
Tulio Magno Quites Machado Filho 2023-08-09 16:07:41 -03:00
commit c9cf4400a6

View file

@ -34,14 +34,8 @@ if [[ "$rpm_version" != "$macro_version" ]]; then
fi
resource_dir=$(rpm --eval "%{clang_resource_dir}")
resource_dir_readonly=$(rpm --eval "%{clang_resource_dir_readonly}")
if [[ ! -d "$resource_dir" ]]; then
echo "Could not find \"$resource_dir\""
exit 1
fi
if [[ ! -d "$resource_dir_readonly" ]]; then
echo "Could not find \"$resource_dir_readonly\""
exit 1
fi