From ab15a1d487d4de3bba4d21e0dff9ca19921f927c6c954650cd04a4068d5a332a Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 24 Aug 2023 10:46:28 +0000 Subject: [PATCH] - 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 --- _multibuild | 1 + doxygen.changes | 7 +++++++ doxygen.spec | 15 +++++++++++---- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/_multibuild b/_multibuild index c1e3714..f78e6ef 100644 --- a/_multibuild +++ b/_multibuild @@ -1,4 +1,5 @@ doxywizard + doxygen-test diff --git a/doxygen.changes b/doxygen.changes index 913cb1e..40bdac1 100644 --- a/doxygen.changes +++ b/doxygen.changes @@ -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 diff --git a/doxygen.spec b/doxygen.spec index 42f2133..4ec9945 100644 --- a/doxygen.spec +++ b/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