Fix broken specfile build

This commit is contained in:
Daniel P. Berrange 2008-09-18 10:20:24 +00:00
parent 49c50366fd
commit da622a20cd
2 changed files with 5 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 18 11:19:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* libvirt.spec.in: Remove commands which were deleting
development files mistakenly
Thu Sep 18 09:55:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
Documentation cleanups.

View File

@ -241,13 +241,6 @@ sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
%endif
%find_lang %{name}
# If we are not building with certain options, we need to remove files
# so that we don't get Installed (but unpackaged) errors
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libvirt
rm -rf $RPM_BUILD_ROOT%{_includedir}/libvirt
rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.so
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libvirt.pc
%if ! %{with_python}
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
%endif