diff --git a/libvirt.changes b/libvirt.changes index 99f09d2..15dbf89 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 10 09:14:39 MDT 2013 - jfehlig@suse.com + +- Fix build for SLE11 SP2 + ------------------------------------------------------------------- Fri Jun 7 15:40:47 MDT 2013 - jfehlig@suse.com diff --git a/libvirt.spec b/libvirt.spec index ffef4ab..5824a23 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -260,10 +260,12 @@ Requires: libvirt-daemon-driver-xen = %{version}-%{release} %if %{with_vbox} Requires: libvirt-daemon-driver-vbox = %{version}-%{release} %endif +%if %{with_nwfilter} +Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release} +%endif Requires: libvirt-daemon-driver-interface = %{version}-%{release} Requires: libvirt-daemon-driver-network = %{version}-%{release} Requires: libvirt-daemon-driver-nodedev = %{version}-%{release} -Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release} Requires: libvirt-daemon-driver-secret = %{version}-%{release} Requires: libvirt-daemon-driver-storage = %{version}-%{release} %endif @@ -1134,6 +1136,7 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml %endif %if ! %{with_nwfilter} rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter +rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so %endif %if %{with_lxc} cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-lxc.README << 'EOF' @@ -1309,7 +1312,9 @@ fi %dir %{_datadir}/libvirt/networks/ %{_datadir}/libvirt/networks/default.xml %endif +%if %{with_nwfilter} %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/ +%endif %{_localstatedir}/adm/fillup-templates/sysconfig.libvirtd %config /etc/init.d/libvirtd %{_sbindir}/rclibvirtd