diff --git a/cmake-FindPostgreSQL.patch b/cmake-FindPostgreSQL.patch index 9a4106d..419b612 100644 --- a/cmake-FindPostgreSQL.patch +++ b/cmake-FindPostgreSQL.patch @@ -99,12 +99,12 @@ diff -up cmake-2.8.10-rc3/Modules/FindPostgreSQL.cmake.findpostgresql cmake-2.8. + set (PostgreSQL_LIBRARY_TO_FIND ${PostgreSQL_LIB_PREFIX}${PostgreSQL_LIBRARY_TO_FIND}) + endif() + -+ find_library (PostgreSQL_LIBRARY_FOUND ++ find_library (PostgreSQL_LIBRARY + NAMES ${PostgreSQL_LIBRARY_TO_FIND} + PATHS ${PostgreSQL_LIBRARY_DIRS} + PATH_SUFFIXES lib + ) -+ fail_if (NOT PostgreSQL_LIBRARY_FOUND) ++ fail_if (NOT PostgreSQL_LIBRARY) + set (PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY_TO_FIND}) -find_library( PostgreSQL_LIBRARY diff --git a/cmake.spec b/cmake.spec index f1ad2f7..49d4aee 100644 --- a/cmake.spec +++ b/cmake.spec @@ -8,7 +8,7 @@ Name: cmake Version: 2.8.10.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-platform make system Group: Development/Tools @@ -182,6 +182,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %changelog +* Thu Jan 24 2013 Orion Poplawski - 2.8.10.1-3 +- Update FindPostgreSQL patch to use PostgreSQL_LIBRARY (bug #903757) + * Thu Jan 17 2013 Tomas Bzatek - 2.8.10.2-2 - Rebuilt for new libarchive