From 68d9099e5df9c30dfcb43e36206f31c7f6655b84 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Apr 02 2020 10:47:13 +0000 Subject: Fix string quoting for rpm >= 4.16 --- 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