packages: v8/v8-soname.patch, v8/v8.spec - increase soversion to 3.6, as v6...
glen
glen at pld-linux.org
Tue Nov 15 13:28:43 CET 2011
Author: glen Date: Tue Nov 15 12:28:42 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- increase soversion to 3.6, as v6 3.4 is not abi compatible with 3.6
---- Files affected:
packages/v8:
v8-soname.patch (1.4 -> 1.5) , v8.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: packages/v8/v8-soname.patch
diff -u packages/v8/v8-soname.patch:1.4 packages/v8/v8-soname.patch:1.5
--- packages/v8/v8-soname.patch:1.4 Mon Nov 14 12:23:56 2011
+++ packages/v8/v8-soname.patch Tue Nov 15 13:28:37 2011
@@ -8,7 +8,7 @@
- if context.options['soname'] == 'on':
- # When building shared object with SONAME version the library name.
- library_name += '-' + version
-+ version = GetVersion().split('.')[0]
++ version = '.'.join(GetVersion().split('.')[:2])
# Generate library SONAME if required by the build.
if context.options['soname'] == 'on':
================================================================
Index: packages/v8/v8.spec
diff -u packages/v8/v8.spec:1.29 packages/v8/v8.spec:1.30
--- packages/v8/v8.spec:1.29 Tue Nov 15 07:19:37 2011
+++ packages/v8/v8.spec Tue Nov 15 13:28:37 2011
@@ -1,13 +1,11 @@
# $Revision$, $Date$
# TODO
-# - we might need bigger soname than just major version, as 3.4 ande 3.6 are
-# rather different and chrome fails to build
# - readline not working in d8 (at least arrows)
Summary: JavaScript Engine by Google
Summary(pl.UTF-8): Silnik JavaScript firmy Google
Name: v8
Version: 3.6.6.7
-Release: 4
+Release: 5
License: BSD
Group: Applications
Source0: http://commondatastorage.googleapis.com/chromium-browser-official/%{name}-%{version}.tar.bz2
@@ -26,7 +24,7 @@
ExclusiveArch: %{ix86} %{x8664} arm
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define somajor %(v=%{version}; echo ${v%%%%.*})
+%define sover %(echo %{version} | cut -d. -f1-2)
%description
V8 is Google's open source JavaScript engine. V8 is written in C++ and
@@ -116,9 +114,9 @@
install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}}
for lib in libv8 libv8preparser; do
- install -p ${lib}.so $RPM_BUILD_ROOT%{_libdir}/${lib}.so.%{version}
- ln -sf ${lib}.so.%{version} $RPM_BUILD_ROOT%{_libdir}/${lib}.so.%{somajor}
- ln -sf ${lib}.so.%{version} $RPM_BUILD_ROOT%{_libdir}/${lib}.so
+ install -p $lib.so $RPM_BUILD_ROOT%{_libdir}/$lib.so.%{version}
+ ln -sf $lib.so.%{version} $RPM_BUILD_ROOT%{_libdir}/$lib.so.%{sover}
+ ln -sf $lib.so.%{version} $RPM_BUILD_ROOT%{_libdir}/$lib.so
done
cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}
@@ -138,9 +136,9 @@
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libv8.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libv8.so.3
+%attr(755,root,root) %ghost %{_libdir}/libv8.so.%{sover}
%attr(755,root,root) %{_libdir}/libv8preparser.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libv8preparser.so.3
+%attr(755,root,root) %ghost %{_libdir}/libv8preparser.so.%{sover}
%files devel
%defattr(644,root,root,755)
@@ -154,6 +152,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2011/11/15 12:28:37 glen
+- increase soversion to 3.6, as v6 3.4 is not abi compatible with 3.6
+
Revision 1.29 2011/11/15 06:19:37 glen
- i don't see reason why rename d8 binary; readline todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/v8/v8-soname.patch?r1=1.4&r2=1.5&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/v8/v8.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list