Include previous ABI version for temporary binary compatibility

This commit is contained in:
Kalev Lember 2015-12-18 20:37:37 +01:00
parent 553f326e04
commit 0e1ebefad6

View File

@ -24,6 +24,8 @@ BuildRequires: glib2-devel
BuildRequires: gtk3-devel
BuildRequires: liboauth-devel
BuildRequires: totem-pl-parser-devel
# For previous ABI version
BuildRequires: grilo
Requires: gobject-introspection
@ -80,6 +82,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_bindir}/grilo-simple-playlist
# Include previous ABI version for temporary binary compatibility until
# everything is rebuilt
cp -a %{_libdir}/libgrilo-0.2.so.1* $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libgrlnet-0.2.so.0* $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libgrlpls-0.2.so.0* $RPM_BUILD_ROOT%{_libdir}
%find_lang grilo
%post -p /sbin/ldconfig
@ -112,6 +120,7 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/grilo-simple-playlist
* Fri Dec 18 2015 Kalev Lember <klember@redhat.com> - 0.3.0-1
- Update to 0.3.0
- Update project URL
- Include previous ABI version for temporary binary compatibility
* Wed Sep 09 2015 Kalev Lember <klember@redhat.com> - 0.2.15-1
- Update to 0.2.15