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}
|
%if 0%{?fedora}
|
||||||
%global xapian_core_support ON
|
%global xapian_core_support ON
|
||||||
|
%global clang_support ON
|
||||||
%else
|
%else
|
||||||
%global xapian_core_support OFF
|
%global xapian_core_support OFF
|
||||||
|
%global clang_support OFF
|
||||||
%endif
|
%endif
|
||||||
%global BuildDir Out
|
%global BuildDir Out
|
||||||
|
|
||||||
@ -9,7 +11,7 @@ Summary: A documentation system for C/C++
|
|||||||
Name: doxygen
|
Name: doxygen
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.8.18
|
Version: 1.8.18
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
# No version is specified.
|
# No version is specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -101,6 +103,9 @@ BuildRequires: git
|
|||||||
BuildRequires: xapian-core-devel
|
BuildRequires: xapian-core-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if "x%{?clang_support}" == "xON"
|
||||||
|
BuildRequires: llvm-devel
|
||||||
|
%endif
|
||||||
Requires: perl-interpreter
|
Requires: perl-interpreter
|
||||||
Requires: graphviz
|
Requires: graphviz
|
||||||
|
|
||||||
@ -210,6 +215,7 @@ pushd %{BuildDir}
|
|||||||
%if ! 0%{?_module_build}
|
%if ! 0%{?_module_build}
|
||||||
%cmake \
|
%cmake \
|
||||||
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
|
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
|
||||||
|
-Duse_libclang=%{clang_support} \
|
||||||
-Dbuild_doc=OFF \
|
-Dbuild_doc=OFF \
|
||||||
-Dbuild_wizard=ON \
|
-Dbuild_wizard=ON \
|
||||||
-Dbuild_xmlparser=ON \
|
-Dbuild_xmlparser=ON \
|
||||||
@ -221,6 +227,7 @@ pushd %{BuildDir}
|
|||||||
%else
|
%else
|
||||||
%cmake \
|
%cmake \
|
||||||
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
|
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
|
||||||
|
-Duse_libclang=%{clang_support} \
|
||||||
-Dbuild_doc=OFF \
|
-Dbuild_doc=OFF \
|
||||||
-Dbuild_wizard=OFF \
|
-Dbuild_wizard=OFF \
|
||||||
-Dbuild_xmlparser=ON \
|
-Dbuild_xmlparser=ON \
|
||||||
@ -298,6 +305,9 @@ make tests -C %{BuildDir}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 27 2020 Tom Callaway <spot@fedoraproject.org> - 1.8.18-2
|
||||||
- update tex dependencies
|
- update tex dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user