From 24e579eb69cbee67d024634c3f7e57b11cea7ed1 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 8 Aug 2012 13:48:51 +0200 Subject: [PATCH] Remove unwanted installed spice-protocol headers spice-gtk is now using spice-protocol as a git submodule, but one of the side-effects of this (combined with another bug fix) results in spice-protocol headers being installed when running 'make install' Work-around the issue for now by deleting these headers in %install --- spice-gtk.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spice-gtk.spec b/spice-gtk.spec index c3cfdd7..ba6bd87 100644 --- a/spice-gtk.spec +++ b/spice-gtk.spec @@ -181,6 +181,13 @@ rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la + +# needed because of the upstream issue described in +# http://lists.freedesktop.org/archives/spice-devel/2012-August/010343.html +# these are unwanted spice-protocol files +rm -rf %{buildroot}%{_includedir}/spice-1 +rm -rf %{buildroot}%{_datadir}/pkgconfig/spice-protocol.pc + %find_lang %{name}