diff --git a/eigen3.spec b/eigen3.spec index 12ffc0d..8154f3e 100644 --- a/eigen3.spec +++ b/eigen3.spec @@ -16,9 +16,15 @@ %global blaslib openblas %endif +%if 0%{?rhel} >= 8 +%bcond_with qt +%else +%bcond_without qt +%endif + Name: eigen3 Version: 3.3.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A lightweight C++ template library for vector and matrix math License: MPLv2.0 and LGPLv2+ and BSD @@ -39,7 +45,9 @@ BuildRequires: sparsehash-devel BuildRequires: suitesparse-devel BuildRequires: gcc-gfortran BuildRequires: SuperLU-devel +%if %{with qt} BuildRequires: qt-devel +%endif BuildRequires: scotch-devel BuildRequires: metis-devel @@ -116,6 +124,9 @@ rm -f %{_vpath_builddir}/doc/html/unsupported/installdox %changelog +* Tue Jan 19 2021 Jan Grulich - 3.3.9-3 +- Drop qt dependency on RHEL 8 and higher + * Tue Jan 19 2021 Sandro Mani - 3.3.9-2 - Backport fix for conflicting declarations of log1p