* SUNWgnutls.spec : Fix d.o.o. : 8876, ON bits being built on nevada builds
authormattman
Thu, 14 May 2009 13:07:11 +0000
changeset 15765 d43128c94c21
parent 15764 e60b95a5e218
child 15766 4015b1e83531
* SUNWgnutls.spec : Fix d.o.o. : 8876, ON bits being built on nevada builds 114 or less are linked against libgnutls.so.13, gnutls is being upgraded to version libgnutls.so.26 in snv_115 (gnome 2.26 integration), this will result in applications like virt-manager failing to launch on snv_115. solution is for SUNWgnutls.spec to create a symbolic link to 13.
ChangeLog
SUNWgnutls.spec
--- a/ChangeLog	Thu May 14 10:15:27 2009 +0000
+++ b/ChangeLog	Thu May 14 13:07:11 2009 +0000
@@ -1,3 +1,11 @@
+2009-05-14  Matt Keenan <[email protected]>
+
+	* SUNWgnutls.spec : Fix d.o.o. : 8876, ON bits being built on nevada builds
+	  114 or less are linked against libgnutls.so.13, gnutls is being upgraded
+	  to version libgnutls.so.26 in snv_115 (gnome 2.26 integration), this will
+	  result in applications like virt-manager failing to launch on snv_115.
+	  solution is for SUNWgnutls.spec to create a symbolic link to 13.
+
 2009-05-14  Hemantha Holla <[email protected]>
 
 	* base-specs/acroread.spec: Bump to 8.1.5
--- a/SUNWgnutls.spec	Thu May 14 10:15:27 2009 +0000
+++ b/SUNWgnutls.spec	Thu May 14 13:07:11 2009 +0000
@@ -86,6 +86,12 @@
 rm  $RPM_BUILD_ROOT%{_libdir}/%_arch64/pkgconfig/gnutls-extra.pc
 rm  $RPM_BUILD_ROOT%{_includedir}/gnutls/openssl.h
 rm  $RPM_BUILD_ROOT%{_includedir}/gnutls/extra.h
+# Temporary fix for ON bits that have been built against previous verison of gnutls
+# This can be removed once ON start building against snv_115, d.o.o. : 8876
+saved_pwd=`pwd`
+cd $RPM_BUILD_ROOT%{_libdir}/%_arch64
+ln -s libgnutls.so libgnutls.so.13
+cd $saved_pwd
 %endif
 
 %gnutls.install -d %name-%version/%base_arch
@@ -100,6 +106,12 @@
 rm  $RPM_BUILD_ROOT%{_includedir}/gnutls/extra.h
 rm  $RPM_BUILD_ROOT%{_includedir}/gnutls/openssl.h
 rm  $RPM_BUILD_ROOT%{_datadir}/aclocal/libgnutls-extra.m4
+# Temporary fix for ON bits that have been built against previous verison of gnutls
+# This can be removed once ON start building against snv_115, d.o.o. : 8876
+saved_pwd=`pwd`
+cd $RPM_BUILD_ROOT%{_libdir}/
+ln -s libgnutls.so libgnutls.so.13
+cd $saved_pwd
 
 %ifarch amd64 sparcv9
 cd $RPM_BUILD_ROOT%{_libdir}/%_arch64