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