From c2401bfd73d96e1d7caeac8c0b8eb171ae37bb4b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 5 Feb 2018 13:55:29 +0100 Subject: [PATCH] Temporarily keep previous ABI compatibility Copy over previous soname to ease rebuilds of dependant packages. --- libgweather.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libgweather.spec b/libgweather.spec index a282b89..bce4096 100644 --- a/libgweather.spec +++ b/libgweather.spec @@ -9,6 +9,7 @@ Source0: https://download.gnome.org/sources/libgweather/3.27/%{name}-%{ve BuildRequires: gettext BuildRequires: gtk-doc +BuildRequires: libgweather BuildRequires: meson BuildRequires: pkgconfig(geocode-glib-1.0) BuildRequires: pkgconfig(gladeui-2.0) @@ -40,11 +41,15 @@ developing applications that use %{name}. %install %meson_install +# Temporarily keep previous ABI compatibility +cp -a %{_libdir}/libgweather-3.so.6* $RPM_BUILD_ROOT%{_libdir} + %find_lang %{name} --all-name %files -f %{name}.lang %doc HACKING NEWS README %license COPYING +%{_libdir}/libgweather-3.so.6* %{_libdir}/libgweather-3.so.15* %{_libdir}/girepository-1.0/GWeather-3.0.typelib %dir %{_datadir}/libgweather