- Employ full version SO naming because of ABI changes within 2.8.x

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=54
This commit is contained in:
Jan Engelhardt 2016-02-18 21:39:35 +00:00 committed by Git OBS Bridge
parent 7bdafeb498
commit ef98c7579e
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 18 21:39:20 UTC 2016 - jengelh@inai.de
- Employ full version SO naming because of ABI changes within 2.8.x
-------------------------------------------------------------------
Wed Feb 3 09:07:07 UTC 2016 - jengelh@inai.de

View File

@ -17,7 +17,7 @@
Name: gsoap
%define lname libgsoap-2_8
%define lname libgsoap-2_8_28
Version: 2.8.28
Release: 0
Summary: Toolkit for C/C++ server and client web service applications
@ -98,7 +98,12 @@ cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
%build
# The version is used for filenames, and GSOAP changed its ABI between
# 2.8.22 and 2.8.28, so we need the full version.
perl -i -lpe 's{AC_INIT\(gsoap, 2.8\)}{AC_INIT([gsoap], [%version])}' \
configure.ac
# Rebuild configure - fix that utterly long mktime test.
# Also needed because Makefile.am and configure.ac are touched.
autoreconf -fi
%configure --enable-ipv6 --disable-static
@ -126,7 +131,7 @@ rm -f "$b/%_libdir"/*.la
%files -n %lname
%defattr(-,root,root)
%_libdir/*-2.8.so
%_libdir/libgsoap*-%version.so
%files -n libgsoap-devel
%defattr(-,root,root)