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
This commit is contained in:
Christophe Fergeau 2012-08-08 13:48:51 +02:00
parent 61f322e99f
commit 24e579eb69

View File

@ -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}