Fix string quoting for rpm >= 4.16
This commit is contained in:
parent
47ae7fd9b2
commit
68d9099e5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user