[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Don't remove devel files in spec



The second iteration of the spec file enhancements
didn't fully remove some pieces that were dependent
on the devel package switch. The attached patch fixes
'make rpm' to work again.

Thanks,
Cole
diff --git a/libvirt.spec.in b/libvirt.spec.in
index cc5aca5..954ea77 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -243,11 +243,6 @@ sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
 
 # 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]