From c72ba18ed1a1f6f81d8ddd5c91c1735f5b109d8f Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Tue, 12 Mar 2013 16:08:26 -0700 Subject: [PATCH] drop the patchlevel from the SONAME libuv will retain binary compatibility for the life of the 0.10.x series --- libuv.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libuv.spec b/libuv.spec index 16300e2..ec8ec5d 100644 --- a/libuv.spec +++ b/libuv.spec @@ -1,9 +1,13 @@ %global git_snapshot 5462dab +#we only need major.minor in the SONAME in the stable (even numbered) series +#this should be changed to %%{version} in unstable (odd numbered) releases +%global sover 0.10 + Name: libuv Epoch: 1 Version: 0.10.0 -Release: 1.git%{git_snapshot}%{?dist} +Release: 2.git%{git_snapshot}%{?dist} Summary: Platform layer for node.js Group: Development/Tools @@ -51,11 +55,11 @@ export CXXFLAGS='%{optflags}' # Modify the build so it produces a versioned shared library pushd out mv libuv.target.mk libuv.target.mk.orig -sed "s/libuv.so/libuv.so.%{version}/g" libuv.target.mk.orig > libuv.target.mk +sed "s/libuv.so/libuv.so.%{sover}/g" libuv.target.mk.orig > libuv.target.mk mv run-benchmarks.target.mk run-benchmarks.target.mk.orig -sed "s/libuv.so/libuv.so.%{version}/g" run-benchmarks.target.mk.orig > run-benchmarks.target.mk +sed "s/libuv.so/libuv.so.%{sover}/g" run-benchmarks.target.mk.orig > run-benchmarks.target.mk mv run-tests.target.mk run-tests.target.mk.orig -sed "s/libuv.so/libuv.so.%{version}/g" run-tests.target.mk.orig > run-tests.target.mk +sed "s/libuv.so/libuv.so.%{sover}/g" run-tests.target.mk.orig > run-tests.target.mk popd make %{?_smp_mflags} V=1 -C out BUILDTYPE=Release @@ -113,6 +117,10 @@ sed -e "s#@prefix@#%{_prefix}#g" \ %{_includedir}/uv-private %changelog +* Tue Mar 12 2013 T.C. Hollingsworth - 1:0.10.0-2.git5462dab +- drop the patchlevel from the SONAME since libuv will retain binary + compatibility for the life of the 0.10.x series + * Mon Mar 11 2013 Stephen Gallagher - 1:0.10.0-1.git5462dab - Upgrade to 0.10.0 release to match stable Node.js release