Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
%endif
%if %{with_wireshark}
-%if 0%{fedora} >= 24
+ %if 0%{fedora} >= 24
BuildRequires: wireshark-devel >= 2.1.0
-%else
+ %else
BuildRequires: wireshark-devel >= 1.12.1
-%endif
+ %endif
%endif
Provides: bundled(gnulib)
rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a
%if %{with_wireshark}
-%if 0%{fedora} >= 24
+ %if 0%{fedora} >= 24
rm -f $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/libvirt.la
-%else
+ %else
rm -f $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.la
mv $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.so \
$RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/libvirt.so
-%endif
+ %endif
%endif
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/