[nss_wrapper/f20] Update to version 1.0.2.

asn asn at fedoraproject.org
Wed Apr 9 10:46:04 UTC 2014


commit c0b926980e2a3a636af7bc84d5ecf152f5e8361e
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Wed Apr 9 11:54:48 2014 +0200

    Update to version 1.0.2.

 .gitignore                               |    1 +
 nss_wrapper-1.0.1-fix_getent_hosts.patch |  171 ------------------------------
 nss_wrapper-1.0.2-fix_cmake_policy.patch |   13 +++
 nss_wrapper.spec                         |   11 ++-
 sources                                  |    2 +-
 5 files changed, 22 insertions(+), 176 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e397411..348e10d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /nss_wrapper-1.0.1.tar.gz
+/nss_wrapper-1.0.2.tar.gz
diff --git a/nss_wrapper-1.0.2-fix_cmake_policy.patch b/nss_wrapper-1.0.2-fix_cmake_policy.patch
new file mode 100644
index 0000000..53e2803
--- /dev/null
+++ b/nss_wrapper-1.0.2-fix_cmake_policy.patch
@@ -0,0 +1,13 @@
+Index: nss_wrapper-1.0.2/src/CMakeLists.txt
+===================================================================
+--- nss_wrapper-1.0.2.orig/src/CMakeLists.txt
++++ nss_wrapper-1.0.2/src/CMakeLists.txt
+@@ -22,7 +22,7 @@ install(
+ )
+ 
+ # This needs to be at the end
+-if (CMAKE_VERSION VERSION_GREATER 2.8.12)
++if (CMAKE_VERSION VERSION_GREATER 2.8.13)
+     cmake_policy(SET CMP0026 OLD)
+ endif()
+ get_target_property(NWRAP_LOCATION nss_wrapper LOCATION)
diff --git a/nss_wrapper.spec b/nss_wrapper.spec
index 7a87f2a..5c2bd93 100644
--- a/nss_wrapper.spec
+++ b/nss_wrapper.spec
@@ -1,6 +1,6 @@
 Name:           nss_wrapper
-Version:        1.0.1
-Release:        3%{?dist}
+Version:        1.0.2
+Release:        1%{?dist}
 
 License:        BSD
 Summary:        A wrapper for the user, group and hosts NSS API
@@ -8,7 +8,7 @@ Url:            http://cwrap.org/
 
 Source0:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
 
-Patch0:         nss_wrapper-1.0.1-fix_getent_hosts.patch
+Patch0:         nss_wrapper-1.0.2-fix_cmake_policy.patch
 
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
@@ -39,7 +39,7 @@ development/testing.
 %prep
 %setup -q
 
-%patch0 -p1 -b .nss_wrapper-1.0.1-fix_getent_hosts.patch
+%patch0 -p1 -b .nss_wrapper-1.0.2-fix_cmake_policy.patch
 
 %build
 if test ! -e "obj"; then
@@ -78,6 +78,9 @@ popd
 %{_libdir}/pkgconfig/nss_wrapper.pc
 
 %changelog
+* Wed Apr 09 2014 - Andreas Schneider <asn at redhat.com> - 1.0.2-1
+- Update to version 1.0.2.
+
 * Fri Mar 14 2014 - Andreas Schneider <asn at redhat.com> - 1.0.1-3
 - resolves: #1075932 - Fix segfault in 'getent hosts'.
 
diff --git a/sources b/sources
index ca9da71..ac2154a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a99fb3e5673bc4796e65a2b0f31875ea  nss_wrapper-1.0.1.tar.gz
+85c4358b9b640c4ccd900e620f67dc75  nss_wrapper-1.0.2.tar.gz


More information about the scm-commits mailing list