From 8bb2723275f7ba10708d30d66210c6eaa90f1e27 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 12 Feb 2021 17:20:38 +0100 Subject: [PATCH] Keep temporary ABI compat with previous soname This is just a short lived hack, mostly for making sure eln doesn't do rebuilds in the wrong order and submit our carefully rebuilt package set against old e-d-s. --- evolution-data-server.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/evolution-data-server.spec b/evolution-data-server.spec index 5acf13e..5fd0338 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -54,7 +54,7 @@ Name: evolution-data-server Version: 3.39.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Backend data server for Evolution License: LGPLv2+ URL: https://wiki.gnome.org/Apps/Evolution @@ -91,6 +91,9 @@ BuildRequires: make BuildRequires: vala BuildRequires: systemd +# for temporary ABI compat +BuildRequires: evolution-data-server + BuildRequires: pkgconfig(gcr-3) >= %{gcr_version} BuildRequires: pkgconfig(gcr-base-3) >= %{gcr_version} BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} @@ -278,6 +281,10 @@ export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et -Wno-d # make sure the directory exists, because it's owned by eds mkdir $RPM_BUILD_ROOT/%{uimodules_dir} || : +# for temporary ABI compat +cp -a %{_libdir}/libedataserver-1.2.so.25* $RPM_BUILD_ROOT%{_libdir}/ +cp -a %{_libdir}/libedataserverui-1.2.so.2* $RPM_BUILD_ROOT%{_libdir}/ + # give the libraries some executable bits find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \; @@ -306,6 +313,11 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \; %{_libdir}/libedataserver-1.2.so.26.0.0 %{_libdir}/libedataserverui-1.2.so.3 %{_libdir}/libedataserverui-1.2.so.3.0.0 +# for temporary ABI compat +%{_libdir}/libedataserver-1.2.so.25 +%{_libdir}/libedataserver-1.2.so.25.0.0 +%{_libdir}/libedataserverui-1.2.so.2 +%{_libdir}/libedataserverui-1.2.so.2.0.0 %{_libdir}/girepository-1.0/Camel-1.2.typelib %{_libdir}/girepository-1.0/EBackend-1.2.typelib @@ -478,6 +490,9 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \; %{_datadir}/installed-tests %changelog +* Fri Feb 12 2021 Kalev Lember - 3.39.2-2 +- Keep temporary ABI compat with previous soname + * Fri Feb 12 2021 Milan Crha - 3.39.2-1 - Update to 3.39.2