Use llvm 7 on Fedora 29 and Fedora 30.
@@ -51,7 +51,13 @@ BuildRequires: gtest-devel
BuildRequires: gmock-devel
%endif
%if 0%{?fc29}
-BuildRequires: llvm-devel >= 6.0.1
+BuildRequires: llvm-devel >= 7.0.0
+BuildRequires: boost-devel >= 1.66
+BuildRequires: gtest-devel
+BuildRequires: gmock-devel
+%endif
+%if 0%{?fc30}
+BuildRequires: llvm-devel >= 7.0.0
BuildRequires: boost-devel >= 1.66
BuildRequires: gtest-devel
BuildRequires: gmock-devel
@@ -116,8 +122,12 @@ Requires: llvm-libs >= 6.0.1
%define _vespa_llvm_version 6.0
%endif
%if 0%{?fc29}
-Requires: llvm-libs >= 6.0.1
-%define _vespa_llvm_version 6.0
+Requires: llvm-libs >= 7.0.0
+%define _vespa_llvm_version 7
+%endif
+%if 0%{?fc30}
+Requires: llvm-libs >= 7.0.0
+%define _vespa_llvm_version 7
%endif
%define _extra_link_directory /opt/vespa-cppunit/lib%{?_vespa_llvm_link_directory:;%{_vespa_llvm_link_directory}}%{?_vespa_gtest_link_directory:;%{_vespa_gtest_link_directory}}
%define _extra_include_directory /opt/vespa-cppunit/include%{?_vespa_llvm_include_directory:;%{_vespa_llvm_include_directory}}%{?_vespa_gtest_include_directory:;%{_vespa_gtest_include_directory}}
