- 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:
Petr Gajdos 2023-08-24 10:46:28 +00:00 committed by Git OBS Bridge
parent b1d3988445
commit ab15a1d487
3 changed files with 19 additions and 4 deletions

View File

@ -1,4 +1,5 @@
<multibuild>
<package>doxywizard</package>
<package>doxygen-test</package>
</multibuild>

View File

@ -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

View File

@ -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