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