Use bundled cbindgen in RHEL builds

RHEL does not include cbindgen nor its Rust crate dependencies.
This commit is contained in:
Yaakov Selkowitz 2023-07-09 22:24:05 -04:00 committed by yselkowitz
parent a2075ecfbc
commit 9955d54a56

View File

@ -60,7 +60,11 @@ ExcludeArch: i686
%global system_pixman 1 %global system_pixman 1
# Bundled cbindgen makes build slow. # Bundled cbindgen makes build slow.
# Enable only if system cbindgen is not available. # Enable only if system cbindgen is not available.
%if 0%{?rhel}
%global use_bundled_cbindgen 1
%else
%global use_bundled_cbindgen 0 %global use_bundled_cbindgen 0
%endif
%if %{debug_build} %if %{debug_build}
%global release_build 0 %global release_build 0
%endif %endif