fix macro expansion when checking Fedora release

This commit is contained in:
Jan Vcelak 2014-01-05 10:35:22 +01:00
parent 0242d4d552
commit 230d47c2ff

View file

@ -19,7 +19,7 @@
%endif %endif
# Documentation install path # Documentation install path
%if 0%{fedora} < 20 %if 0%{?fedora} < 20
%global llvmdocdir() %{_docdir}/%1-%{version} %global llvmdocdir() %{_docdir}/%1-%{version}
%else %else
%global llvmdocdir() %{_docdir}/%1 %global llvmdocdir() %{_docdir}/%1