packages: v8/v8.spec - fix soname

glen glen at pld-linux.org
Sat Mar 5 10:27:54 CET 2011


Author: glen                         Date: Sat Mar  5 09:27:54 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix soname

---- Files affected:
packages/v8:
   v8.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/v8/v8.spec
diff -u packages/v8/v8.spec:1.20 packages/v8/v8.spec:1.21
--- packages/v8/v8.spec:1.20	Sat Mar  5 10:19:10 2011
+++ packages/v8/v8.spec	Sat Mar  5 10:27:49 2011
@@ -1,9 +1,10 @@
 # $Revision$, $Date$
 %define		sover	%(v=%{version}; echo ${v%.*})
+%define		somajor	%(v=%{version}; echo ${v%%%%.*})
 Summary:	JavaScript Engine
 Name:		v8
 Version:	3.1.6.1
-Release:	1
+Release:	2
 License:	New BSD License
 Group:		Libraries
 URL:		http://code.google.com/p/v8
@@ -132,7 +133,7 @@
 
 lib=$(basename $RPM_BUILD_ROOT%{_libdir}/libv8.so.*.*.*)
 ln -s $lib $RPM_BUILD_ROOT%{_libdir}/libv8.so
-ln -s $lib $RPM_BUILD_ROOT%{_libdir}/libv8.so.0
+ln -s $lib $RPM_BUILD_ROOT%{_libdir}/libv8.so.%{somajor}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -148,7 +149,7 @@
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libv8.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libv8.so.0
+%attr(755,root,root) %ghost %{_libdir}/libv8.so.3
 
 %files devel
 %defattr(644,root,root,755)
@@ -161,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2011/03/05 09:27:49  glen
+- fix soname
+
 Revision 1.20  2011/03/05 09:19:10  glen
 - 3.1.6.1, use gentoo tarballs
 - quote CC/CXX
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/v8/v8.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list