From f1a411309f8cd34c8c925fae142de75897cbcaad Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Feb 25 2019 12:10:13 +0000 Subject: Ship old soname for temporary ABI compatibility --- diff --git a/gupnp.spec b/gupnp.spec index de009b1..4ff3202 100644 --- a/gupnp.spec +++ b/gupnp.spec @@ -7,6 +7,7 @@ License: LGPLv2+ URL: http://www.gupnp.org/ Source0: http://download.gnome.org/sources/%{name}/1.1/%{name}-%{version}.tar.xz +BuildRequires: gupnp BuildRequires: gssdp-devel >= 1.1 BuildRequires: gtk-doc BuildRequires: gobject-introspection-devel >= 1.36 @@ -50,6 +51,9 @@ This package contains developer documentation for %{name}. %install %meson_install +# Temporary ABI compatibility with the old soname +cp -a %{_libdir}/libgupnp-1.0.so.* $RPM_BUILD_ROOT%{_libdir}/ + %check %meson_test @@ -58,6 +62,7 @@ This package contains developer documentation for %{name}. %files %license COPYING %doc AUTHORS README +%{_libdir}/libgupnp-1.0.so.* %{_libdir}/libgupnp-1.2.so.* %{_libdir}/girepository-1.0/GUPnP-1.2.typelib @@ -76,6 +81,7 @@ This package contains developer documentation for %{name}. * Mon Feb 25 2019 Kalev Lember - 1.1.2-1 - Update to 1.1.2 - Switch to the meson build system +- Ship old soname for temporary ABI compatibility * Fri Feb 01 2019 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild