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
This commit is contained in:
Stephan Kulow 2014-06-25 07:42:44 +00:00 committed by Git OBS Bridge
parent 6b1d80379c
commit cba80c3a97
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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