fixed bz#1834591, enable clang support in fedora
This commit is contained in:
parent
8aeb518c06
commit
4374fcf0de
12
doxygen.spec
12
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 <than@redhat.com> - 1.8.18-3
|
||||
- fixed bz#1834591, enable clang support in fedora
|
||||
|
||||
* Wed May 27 2020 Tom Callaway <spot@fedoraproject.org> - 1.8.18-2
|
||||
- update tex dependencies
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user