From 9b92fb1048a0bbcb54782f648dd854e7c251fa07 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 20 Feb 2014 23:22:01 +0100 Subject: [PATCH] Build a temporary compat-libcogl19 subpackage to ease the rebuilds --- cogl.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/cogl.spec b/cogl.spec index d00ec5e..3a3b020 100644 --- a/cogl.spec +++ b/cogl.spec @@ -73,6 +73,13 @@ BuildArch: noarch %description doc This package contains documentation for %{name}. +%package -n compat-libcogl19 +Summary: Compat package with cogl ABI version 19 + +%description -n compat-libcogl19 +Temporary compatibility package to ease the rebuilds from cogl ABI version 19 +to 20. + %prep %setup -q @@ -98,6 +105,9 @@ make install DESTDIR=%{buildroot} INSTALL='install -p' #Remove libtool archives. find %{buildroot} -name '*.la' -exec rm -f {} ';' +# Copy files for compat-libcogl19 +cp -a %{_libdir}/libcogl*.so.19* %{buildroot}%{_libdir}/ + # This gets installed by mistake rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg @@ -109,7 +119,7 @@ rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg %files -f %{name}.lang %doc COPYING NEWS README ChangeLog -%{_libdir}/libcogl*.so.* +%{_libdir}/libcogl*.so.20* %{_libdir}/girepository-1.0/Cogl*.typelib %files devel @@ -122,9 +132,13 @@ rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg %{_datadir}/gtk-doc/html/cogl %{_datadir}/gtk-doc/html/cogl-2.0-experimental +%files -n compat-libcogl19 +%{_libdir}/libcogl*.so.19* + %changelog * Thu Feb 20 2014 Kalev Lember - 1.17.4-1 - Update to 1.17.4, which includes soname bump +- Build a temporary compat-libcogl19 subpackage to ease the rebuilds * Wed Feb 05 2014 Richard Hughes - 1.17.2-1 - Update to 1.17.2