]> git.pld-linux.org Git - packages/v8.git/commitdiff
- fix soname auto/th/v8-3_1_6_1-2
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 5 Mar 2011 09:27:49 +0000 (09:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    v8.spec -> 1.21

v8.spec

diff --git a/v8.spec b/v8.spec
index 70b77fcbd529e94d062beed495cbe9d7a67a8976..4540c8645a2baa213051ba4547e0c3ff527534c9 100644 (file)
--- a/v8.spec
+++ b/v8.spec
@@ -1,8 +1,9 @@
 %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
@@ -131,7 +132,7 @@ install -p libv8.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
 
 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
@@ -147,7 +148,7 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.075149 seconds and 4 git commands to generate.