diff --git a/cmake.spec b/cmake.spec index ebb5fd4..be43655 100644 --- a/cmake.spec +++ b/cmake.spec @@ -8,7 +8,7 @@ Name: cmake Version: 2.8.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Cross-platform make system Group: Development/Tools @@ -160,6 +160,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %changelog +* Tue Feb 21 2012 Orion Poplawski - 2.8.7-6 +- Just strip CMAKE_INSTALL_LIBDIR from %%cmake macro + * Tue Feb 21 2012 Orion Poplawski - 2.8.7-5 - Strip CMAKE_INSTALL_LIBDIR and others from %%cmake macro (bug 795542) diff --git a/macros.cmake b/macros.cmake index 69f4b5e..2592371 100644 --- a/macros.cmake +++ b/macros.cmake @@ -14,4 +14,11 @@ %__cmake \\\ -DCMAKE_VERBOSE_MAKEFILE=ON \\\ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\ + -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\ + -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\ + -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\ + -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\ +%if "%{?_lib}" == "lib64" \ + %{?_cmake_lib_suffix64} \\\ +%endif \ -DBUILD_SHARED_LIBS:BOOL=ON