forked from pool/doxygen
- doxygen-test multibuild target to break build cycle with latex
- modified sources % _multibuild OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=194
This commit is contained in:
parent
b1d3988445
commit
ab15a1d487
@ -1,4 +1,5 @@
|
||||
<multibuild>
|
||||
<package>doxywizard</package>
|
||||
<package>doxygen-test</package>
|
||||
</multibuild>
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 10:45:46 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
- doxygen-test multibuild target to break build cycle with latex
|
||||
- modified sources
|
||||
% _multibuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 11:09:41 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
|
15
doxygen.spec
15
doxygen.spec
@ -69,11 +69,10 @@ BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
Requires: doxygen = %{version}
|
||||
%endif
|
||||
%if "%{flavor}" == "doxygen"
|
||||
# for tests
|
||||
%if "%{flavor}" == "doxygen-test"
|
||||
BuildRequires: libxml2-tools
|
||||
BuildRequires: texlive-bibtex
|
||||
# --
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "doxygen"
|
||||
@ -92,6 +91,11 @@ Doxywizard is a graphical front-end to read/edit/write doxygen
|
||||
configuration files.
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "doxygen-test"
|
||||
%description
|
||||
Unit tests for doxygen.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n doxygen-%{version}
|
||||
# Leap 15 and SLE don't accept '%%autopatch -M'
|
||||
@ -128,6 +132,9 @@ configuration files.
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%if "%{flavor}" == "doxygen-test"
|
||||
exit 0
|
||||
%endif
|
||||
%cmake_install
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
%if "%{flavor}" == "doxygen"
|
||||
@ -140,7 +147,7 @@ install -m 644 doc/doxywizard.1 %{buildroot}%{_mandir}/man1/
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if "%{flavor}" == "doxygen"
|
||||
%if "%{flavor}" == "doxygen-test"
|
||||
# https://github.com/doxygen/doxygen/issues/10053
|
||||
rm -r testing/061*
|
||||
export LANG=C.UTF-8
|
||||
|
Loading…
Reference in New Issue
Block a user