From cba80c3a973af21ba161d2a20d910181b8413990d8e9d3b28dc0017e308b0bee Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 25 Jun 2014 07:42:44 +0000 Subject: [PATCH] Accepting request 238499 from home:jengelh:branches:Base:System - Add symbol versions to library OBS-URL: https://build.opensuse.org/request/show/238499 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=41 --- sg3_utils.changes | 5 +++++ sg3_utils.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/sg3_utils.changes b/sg3_utils.changes index cec39f0..bba497e 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 20 13:15:12 UTC 2014 - jengelh@inai.de + +- Add symbol versions to library + ------------------------------------------------------------------- Tue Jun 17 09:08:42 UTC 2014 - jengelh@inai.de diff --git a/sg3_utils.spec b/sg3_utils.spec index d10fddc..110cd0b 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -83,6 +83,10 @@ applications that want to make use of libsgutils. %build %configure --disable-static --with-pic +# sg3_utils has added functions between (for example) 1.36 and 1.39 +# without tracking them. Add symvers so RPM updates work in all cases. +echo 'V_%version { global: *; };' >symvers +make %{?_smp_mflags} -C lib LDFLAGS="-Wl,--version-script=$PWD/symvers" make %{?_smp_mflags} %install