[tncfhh] Fix build failure in fedora rawhide. It was caused due to

avesh avesh at fedoraproject.org
Mon Jul 23 20:22:10 UTC 2012


commit 7ccd398e5796d143cfbbb2a289fd493916683071
Author: Avesh Agarwal <avagarwa at redhat.com>
Date:   Mon Jul 23 16:21:56 2012 -0400

    Fix build failure in fedora rawhide. It was caused due to
    
      removal of CMAKE_INSTALL_LIBDIR macro from /etc/rpm/cmake.macros
      that was present in previous fedora releases.

 tncfhh.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/tncfhh.spec b/tncfhh.spec
index 9f720f4..1173286 100644
--- a/tncfhh.spec
+++ b/tncfhh.spec
@@ -4,7 +4,7 @@ Summary: An open source implementation of the Trusted Network Connect (TNC) fram
 Name: tncfhh
 Version: 0.8.3
 
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2
 Url: http://trust.inform.fh-hannover.de/joomla/index.php/projects/tncfhh
 Source0: http://trust.inform.fh-hannover.de/download/tncfhh/tncfhh-%{version}.tar.gz
@@ -74,7 +74,7 @@ A shared library that offers simple configuration file parsing.
 %patch2 -p1
 
 %build
-%cmake . -DCOMPONENT=all -DNAL=8021x \
+%cmake . -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} -DCOMPONENT=all -DNAL=8021x \
 %if %{build_attestation_imc_imv}
  -DTPM=on
 %endif
@@ -82,7 +82,7 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_libdir}
+#mkdir -p $RPM_BUILD_ROOT%{_libdir}
 make install DESTDIR=${RPM_BUILD_ROOT} INSTALL='install -p'
 
 %clean
@@ -161,6 +161,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libtncutil.so.?.?.?
 
 %changelog
+* Mon Jul 23 2012 Avesh Agarwal <avagarwa at redhat.com> - 0.8.3-8
+- Fix build failure in fedora rawhide. It was caused due to 
+  removal of CMAKE_INSTALL_LIBDIR macro from /etc/rpm/cmake.macros 
+  that was present in previous fedora releases.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.3-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list