[llvm/f19] fix macro expansion when checking Fedora release

jvcelak jvcelak at fedoraproject.org
Sun Jan 5 09:37:19 UTC 2014


commit 230d47c2ff2b6350cdb0964b96197d8025bae4ce
Author: Jan Vcelak <jvcelak at fedoraproject.org>
Date:   Sun Jan 5 10:35:22 2014 +0100

    fix macro expansion when checking Fedora release

 llvm.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 187d118..faa5792 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -19,7 +19,7 @@
 %endif
 
 # Documentation install path
-%if 0%{fedora} < 20
+%if 0%{?fedora} < 20
   %global llvmdocdir() %{_docdir}/%1-%{version}
 %else
   %global llvmdocdir() %{_docdir}/%1


More information about the scm-commits mailing list