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

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

 



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
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]