[avogadro] * Sun Aug 22 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.0.1-5 - use CMAKE_SKIP_RPATH because we

Kevin Kofler kkofler at fedoraproject.org
Sun Aug 22 00:17:42 UTC 2010


commit b930f9c56ce05b5ee63115e09a8bcc17722b9a81
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date:   Sun Aug 22 02:17:27 2010 +0200

    * Sun Aug 22 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.0.1-5
    - use CMAKE_SKIP_RPATH because we end up with rpaths otherwise
    - disable tests because they don't work in Koji anyway

 avogadro.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/avogadro.spec b/avogadro.spec
index 119e615..dae966f 100644
--- a/avogadro.spec
+++ b/avogadro.spec
@@ -1,11 +1,11 @@
 %{!?python_sitelib:%global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
-%define ENABLE_TESTS -DENABLE_TESTS:BOOL=ON
+#define ENABLE_TESTS -DENABLE_TESTS:BOOL=ON
 
 Name:           avogadro
 Version:        1.0.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        An advanced molecular editor for chemical purposes
 
 Group:          Applications/Editors
@@ -66,7 +66,8 @@ rm -f cmake/modules/FindPythonLibs.cmake
 %build
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
-%{cmake} %{?ENABLE_TESTS} -DENABLE_GLSL:BOOL=ON -DENABLE_PYTHON:BOOL=ON  ..
+%{cmake} %{?ENABLE_TESTS} -DENABLE_GLSL:BOOL=ON -DENABLE_PYTHON:BOOL=ON  \
+  %{_cmake_skip_rpath} ..
 popd
 make %{?_smp_mflags} -C %{_target_platform}
 
@@ -135,6 +136,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Aug 22 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.0.1-5
+- use CMAKE_SKIP_RPATH because we end up with rpaths otherwise
+- disable tests because they don't work in Koji anyway
+
 * Sun Aug 22 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.0.1-4
 - fix paths in AvogadroConfig.cmake
 - fix packaging of translations


More information about the scm-commits mailing list