Accepting request 258581 from home:cbosdonnat:branches:Virtualization

- Added package wireshark-plugin to provide the wireshark dissector
  for the libvirt RPC protocol

OBS-URL: https://build.opensuse.org/request/show/258581
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=414
This commit is contained in:
Cédric Bosdonnat 2014-10-27 23:00:39 +00:00 committed by Git OBS Bridge
parent 932db09f51
commit 4fa650a969
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 27 21:20:08 UTC 2014 - cbosdonnat@suse.com
- Added package wireshark-plugin to provide the wireshark dissector
for the libvirt RPC protocol
-------------------------------------------------------------------
Thu Oct 2 15:28:40 MDT 2014 - jfehlig@suse.com

View File

@ -423,6 +423,9 @@ BuildRequires: systemtap-sdt-devel
%if %{with_numad}
BuildRequires: numad
%endif
%if 0%{?suse_version} >= 1210
BuildRequires: wireshark-devel
%endif
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-%{version}.tar.gz.asc
@ -949,6 +952,17 @@ connect a user to an LXC container when they login, by switching
namespaces.
%endif
# Older version contain too old wireshark
%if 0%{?suse_version} >= 1210
%package -n wireshark-libvirt
Summary: Wireshark plugin for Libvirt RPC protocol
Group: Productivity/Networking/Diagnostic
Requires: wireshark
%description -n wireshark-libvirt
Provides a dissector for the libvirt RPC protocol to help debugging it.
%endif
%prep
%setup -q
%patch150 -p1
@ -1190,6 +1204,9 @@ do
done
cp examples/lxcconvert/virt-lxc-convert $RPM_BUILD_ROOT%{_bindir}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%if 0%{?suse_version} >= 1210
rm -f $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.la
%endif
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lock-driver/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lock-driver/*.a
@ -1849,4 +1866,10 @@ fi
%{_bindir}/virt-login-shell
%endif
%if 0%{?suse_version} >= 1210
%files -n wireshark-libvirt
%defattr(-, root, root)
%{_libdir}/wireshark/plugins/*/libvirt.so
%endif
%changelog