Fix string quoting for rpm >= 4.16

This commit is contained in:
Björn Esser 2020-04-02 12:47:13 +02:00
parent 47ae7fd9b2
commit 68d9099e5d
No known key found for this signature in database
GPG Key ID: F52E98007594C21D
1 changed files with 3 additions and 3 deletions

View File

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