From 68d9099e5df9c30dfcb43e36206f31c7f6655b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Thu, 2 Apr 2020 12:47:13 +0200 Subject: [PATCH] Fix string quoting for rpm >= 4.16 --- doxygen.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doxygen.spec b/doxygen.spec index 9628f5c..a8cb7f6 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -50,7 +50,7 @@ BuildRequires: flex BuildRequires: bison BuildRequires: cmake BuildRequires: git -%if %{xapian_core_support} == "ON" +%if "x%{?xapian_core_support}" == "xON" BuildRequires: xapian-core-devel BuildRequires: zlib-devel %endif @@ -155,7 +155,7 @@ cp doc/*.1 %{buildroot}/%{_mandir}/man1/ rm -f %{buildroot}/%{_mandir}/man1/doxywizard.1* %endif -%if %{xapian_core_support} == "OFF" +%if "x%{?xapian_core_support}" == "xOFF" rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1* %endif @@ -180,7 +180,7 @@ make tests -C %{BuildDir} %endif %{_bindir}/doxygen %{_mandir}/man1/doxygen.1* -%if %{xapian_core_support} == "ON" +%if "x%{?xapian_core_support}" == "xON" %{_mandir}/man1/doxyindexer.1* %{_mandir}/man1/doxysearch.1* %endif