[cmake] Update FindPostgreSQL patch to use PostgreSQL_LIBRARY (bug #903757)

Orion Poplawski orion at fedoraproject.org
Fri Jan 25 04:35:37 UTC 2013


commit 556b25d62579271933d0780d702a9e8daeac41a6
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Thu Jan 24 21:35:32 2013 -0700

    Update FindPostgreSQL patch to use PostgreSQL_LIBRARY (bug #903757)

 cmake-FindPostgreSQL.patch |    4 ++--
 cmake.spec                 |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
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 <orion at cora.nwra.com> - 2.8.10.1-3
+- Update FindPostgreSQL patch to use PostgreSQL_LIBRARY (bug #903757)
+
 * Thu Jan 17 2013 Tomas Bzatek <tbzatek at redhat.com> - 2.8.10.2-2
 - Rebuilt for new libarchive
 


More information about the scm-commits mailing list