|
|
|
@ -253,13 +253,11 @@
|
|
|
|
|
%global bundlecrc32c 1
|
|
|
|
|
%global bundleharfbuzz 1
|
|
|
|
|
%global bundlebrotli 1
|
|
|
|
|
%global bundleicu 1
|
|
|
|
|
%global bundlelibwebp 1
|
|
|
|
|
%else
|
|
|
|
|
%global bundlecrc32c 0
|
|
|
|
|
%global bundleharfbuzz 0
|
|
|
|
|
%global bundlebrotli 0
|
|
|
|
|
%global bundleicu 0
|
|
|
|
|
%global bundlelibwebp 0
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
@ -1278,7 +1276,7 @@ cp -a third_party/dav1d/version/version.h third_party/dav1d/libdav1d/include/dav
|
|
|
|
|
%build
|
|
|
|
|
# build bindgen on el8
|
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
|
%__rpmuncompress -x %{SOURCE16}
|
|
|
|
|
xz -dc %{SOURCE16} | tar -xof -
|
|
|
|
|
pushd rust-bindgen-0.69.4
|
|
|
|
|
cargo build
|
|
|
|
|
mkdir -p ..%{_bindir} ..%{_libdir}
|
|
|
|
|