[cogl] Build a temporary compat-libcogl19 subpackage to ease the rebuilds
Kalev Lember
kalev at fedoraproject.org
Thu Feb 20 22:25:59 UTC 2014
commit 9b92fb1048a0bbcb54782f648dd854e7c251fa07
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Feb 20 23:22:01 2014 +0100
Build a temporary compat-libcogl19 subpackage to ease the rebuilds
cogl.spec | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
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 <kalevlember at gmail.com> - 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 <rhughes at redhat.com> - 1.17.2-1
- Update to 1.17.2
More information about the scm-commits
mailing list