Temporarily ship previous soname for ABI compat

This commit is contained in:
Kalev Lember 2020-09-13 16:27:14 +02:00
parent fb4b5365bd
commit fb7a3c75a2

View File

@ -26,6 +26,8 @@ BuildRequires: python3-devel
BuildRequires: webkit2gtk3-devel
BuildRequires: /usr/bin/appstream-util
BuildRequires: /usr/bin/xsltproc
# For temprary ABI compat
BuildRequires: glade-libs
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# The gtk3 version of glade was packaged under the name of 'glade3' for a
@ -79,6 +81,9 @@ sed -i -e 's/python-3.8-embed/python-3.9-embed/g' meson.build
%find_lang glade --with-gnome
# For temprary ABI compat
cp -a %{_libdir}/libgladeui-2.so.12* $RPM_BUILD_ROOT%{_libdir}
%check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
@ -108,6 +113,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Glade.de
%{_libdir}/glade/modules/libgladegtk.so
%{_libdir}/glade/modules/libgladepython.so
%{_libdir}/glade/modules/libgladewebkit2gtk.so
%{_libdir}/libgladeui-2.so.12*
%{_libdir}/libgladeui-2.so.13*
%{_datadir}/glade/
@ -127,6 +133,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Glade.de
%changelog
* Sun Sep 13 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
- Update to 3.38.0
- Temporarily ship previous soname for ABI compat
* Mon Aug 17 2020 Kalev Lember <klember@redhat.com> - 3.37.0-1
- Update to 3.37.0