[cmocka/el6] Fix building on rhel6.

asn asn at fedoraproject.org
Wed Aug 6 13:16:49 UTC 2014


commit 8a2f0182c22e983383a6850497361df36227bcf0
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Wed Aug 6 15:16:24 2014 +0200

    Fix building on rhel6.

 cmocka.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/cmocka.spec b/cmocka.spec
index 5b49f47..cfcbe83 100644
--- a/cmocka.spec
+++ b/cmocka.spec
@@ -4,7 +4,7 @@ BuildRequires:  glibc-devel
 
 Name:           cmocka
 Version:        0.4.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 License:        ASL 2.0
 Group:          Development/Tools
@@ -88,6 +88,7 @@ pushd obj
 %cmake \
   -DWITH_STATIC_LIB=ON \
   -DUNIT_TESTING=ON \
+  -DCMAKE_SKIP_RPATH:BOOL=OFF \
   %{_builddir}/%{name}-%{version}
 
 make %{?_smp_mflags} VERBOSE=1
@@ -127,6 +128,9 @@ popd
 %{_libdir}/cmake/cmocka/cmocka-config.cmake
 
 %changelog
+* Wed Aug 06 2014 - Andreas Schneider <asn at redhat.com> - 0.4.1-3
+- Fix building on rhel6 with bad %cmake macro.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list