Disable VTK on riscv64

To unblock packages depending on OpenCV.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-04-04 17:22:43 +03:00
parent befc826336
commit 9ee2f27cb1
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 1 deletions

View File

@ -31,7 +31,11 @@
%if 0%{?rhel} >= 8
%bcond_with vtk
%else
%ifnarch riscv64
%bcond_without vtk
%else
%bcond_with vtk
%endif
%endif
%ifarch x86_64
@ -70,7 +74,7 @@ Version: 4.7.0
%global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} )
%global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} )
%global abiver %(echo %{majorver}%{padding}%{minorver} )
Release: 3%{?dist}
Release: 3.0.riscv64%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
License: BSD
@ -516,6 +520,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
%{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}}
%changelog
* Tue Apr 04 2023 David Abdurachmanov <davidlt@rivosinc.cmo> - 4.7.0-3.0.riscv64
- Disable VTK on riscv64 (for now)
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild