From c614e7206478956b49b73d9814908ebecab23939 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 29 Nov 2019 15:06:39 +0200 Subject: [PATCH] Add packages to resolve build on CentOS. --HG-- branch : develop --- dist/rpm/valentina.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index abc61f2bb..5c3fe5813 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -69,6 +69,16 @@ BuildRequires: libqt5-qtxmlpatterns-devel %endif # %if 0%{?suse_version} > 0 +# CentOS 7.0 specifics +%if 0%{?centos_version} >= 700 && 0%{?centos_version} < 800 +BuildRequires: llvm-private +%endif + +# CentOS 8.0 specifics +%if 0%{?centos_version} >= 800 +BuildRequires: clang-libs +%endif + Requires: poppler-utils Version: 0.7.0