From fd8feae081bf9b499d5c908dcea40e403b80d3dc0d323f961ad3e3a2bd679b10 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Wed, 23 Nov 2022 17:14:00 +0000 Subject: [PATCH] Accepting request 1037695 from home:pmonrealgonzalez:branches:devel:languages:perl OBS-URL: https://build.opensuse.org/request/show/1037695 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Pcap?expand=0&rev=19 --- perl-Net-Pcap.spec | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/perl-Net-Pcap.spec b/perl-Net-Pcap.spec index 4515dbe..62c1700 100644 --- a/perl-Net-Pcap.spec +++ b/perl-Net-Pcap.spec @@ -44,6 +44,24 @@ like kernel-level packet filtering and access to internal statistics. Common applications include network statistics collection, security monitoring, network debugging, etc. +%package -n pcapdump +Summary: Dump packets from the network +Requires: %{name} = %{version} + +%description -n pcapdump +Command line tool to dump packets from the network. + +pcapdump mimics the very basic features of tcpdump(1) and provides a good +example of how to use Net::Pcap. + +%package -n pcapinfo +Summary: Prints detailed information about the network devices +Requires: %{name} = %{version} + +%description -n pcapinfo +pcapinfo prints detailed information about the network devices and Pcap library +available on the current host. + %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 @@ -69,24 +87,6 @@ install -D -m0755 eg/pcapdump "%{buildroot}%{_bindir}/pcapdump" %exclude %{_bindir}/pcapdump %exclude %{_mandir}/man1/pcapinfo.1%{?ext_man} -%package -n pcapdump -Summary: Dump packets from the network -Requires: %{name} = %{version} - -%description -n pcapdump -Command line tool to dump packets from the network. - -pcapdump mimics the very basic features of tcpdump(1) and provides a good -example of how to use Net::Pcap. - -%package -n pcapinfo -Summary: Prints detailed information about the network devices -Requires: %{name} = %{version} - -%description -n pcapinfo -pcapinfo prints detailed information about the network devices and Pcap library -available on the current host. - %files -n pcapdump %{_bindir}/pcapdump