commit 03f7b147e85141460645d61996cb860c796c374b Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Sat Apr 12 22:30:08 2014 +0200
- updated to 1.0.2 - added cmake patch (fixes build with cmake > 2.8.12 < 3 nss_wrapper-cmake.patch | 11 +++++++++++ nss_wrapper.spec | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) --- diff --git a/nss_wrapper.spec b/nss_wrapper.spec index d4d0292..4954369 100644 --- a/nss_wrapper.spec +++ b/nss_wrapper.spec @@ -1,12 +1,13 @@ Summary: NSS wrapper library Summary(pl.UTF-8): Biblioteka obudowujÄ…ca NSS Name: nss_wrapper -Version: 1.0.1 +Version: 1.0.2 Release: 1 License: BSD Group: Libraries Source0: http://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz -# Source0-md5: a99fb3e5673bc4796e65a2b0f31875ea +# Source0-md5: 85c4358b9b640c4ccd900e620f67dc75 +Patch0: %{name}-cmake.patch URL: http://cwrap.org/nss_wrapper.html BuildRequires: cmake >= 2.8.0 BuildRequires: rpmbuild(macros) >= 1.605 @@ -42,6 +43,7 @@ socket_wrapper. %prep %setup -q +%patch0 -p1 %build install -d build diff --git a/nss_wrapper-cmake.patch b/nss_wrapper-cmake.patch new file mode 100644 index 0000000..932168a --- /dev/null +++ b/nss_wrapper-cmake.patch @@ -0,0 +1,11 @@ +--- nss_wrapper-1.0.2/src/CMakeLists.txt.orig 2014-04-09 11:38:13.000000000 +0200 ++++ nss_wrapper-1.0.2/src/CMakeLists.txt 2014-04-12 22:23:19.097880150 +0200 +@@ -22,7 +22,7 @@ + ) + + # This needs to be at the end +-if (CMAKE_VERSION VERSION_GREATER 2.8.12) ++if (NOT CMAKE_VERSION VERSION_LESS 3) + cmake_policy(SET CMP0026 OLD) + endif() + get_target_property(NWRAP_LOCATION nss_wrapper LOCATION) ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/nss_wrapper.git/commitdiff/03f7b147e85141460645d61996cb860c796c374b _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit