Build a temporary compat-libcogl19 subpackage to ease the rebuilds

This commit is contained in:
Kalev Lember 2014-02-20 23:22:01 +01:00
parent c685571191
commit 9b92fb1048

View File

@ -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@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@redhat.com> - 1.17.2-1
- Update to 1.17.2