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}