[mathgl] Fast fix on cmake fix

Dmitrij S. Kryzhevich krege at fedoraproject.org
Mon Apr 15 02:27:21 UTC 2013


commit 2f436426e118781e0e1cc55a04b578df2f366cc2
Author: Dmitrij S. Kryzhevich <krege at land.ru>
Date:   Mon Apr 15 09:27:16 2013 +0700

    Fast fix on cmake fix

 mathgl.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/mathgl.spec b/mathgl.spec
index 57de8fd..4bd8999 100644
--- a/mathgl.spec
+++ b/mathgl.spec
@@ -115,7 +115,7 @@ done
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 %{cmake} \
-  DMGL_LIB_INSTALL_DIR=%{_libdir} \
+  -DMGL_LIB_INSTALL_DIR=%{_libdir} \
   -Denable-all=on \
   -Denable-hdf4=off \
   -Denable-doc=on \
@@ -123,6 +123,7 @@ pushd %{_target_platform}
   -Denable-all-widgets=on \
   -Denable-mpi=off \
   ..
+popd
 
 make %{?_smp_mflags} -C %{_target_platform}
 


More information about the scm-commits mailing list