From 4374fcf0ded14a862700ec9886742bbf7843fc77 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Thu, 18 Jun 2020 17:21:22 +0200 Subject: [PATCH] fixed bz#1834591, enable clang support in fedora --- doxygen.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doxygen.spec b/doxygen.spec index 11d4418..2e6c282 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -1,7 +1,9 @@ %if 0%{?fedora} %global xapian_core_support ON +%global clang_support ON %else %global xapian_core_support OFF +%global clang_support OFF %endif %global BuildDir Out @@ -9,7 +11,7 @@ Summary: A documentation system for C/C++ Name: doxygen Epoch: 1 Version: 1.8.18 -Release: 2%{?dist} +Release: 3%{?dist} # No version is specified. License: GPL+ @@ -101,6 +103,9 @@ BuildRequires: git BuildRequires: xapian-core-devel BuildRequires: zlib-devel %endif +%if "x%{?clang_support}" == "xON" +BuildRequires: llvm-devel +%endif Requires: perl-interpreter Requires: graphviz @@ -210,6 +215,7 @@ pushd %{BuildDir} %if ! 0%{?_module_build} %cmake \ -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ + -Duse_libclang=%{clang_support} \ -Dbuild_doc=OFF \ -Dbuild_wizard=ON \ -Dbuild_xmlparser=ON \ @@ -221,6 +227,7 @@ pushd %{BuildDir} %else %cmake \ -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ + -Duse_libclang=%{clang_support} \ -Dbuild_doc=OFF \ -Dbuild_wizard=OFF \ -Dbuild_xmlparser=ON \ @@ -298,6 +305,9 @@ make tests -C %{BuildDir} %endif %changelog +* Thu Jun 18 2020 Than Ngo - 1.8.18-3 +- fixed bz#1834591, enable clang support in fedora + * Wed May 27 2020 Tom Callaway - 1.8.18-2 - update tex dependencies