Update description, add missing provides, equalize macro style

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=191
This commit is contained in:
Jan Engelhardt 2020-04-08 06:31:07 +00:00 committed by Git OBS Bridge
parent d59e8cf6ad
commit 74a3811799

View File

@ -83,14 +83,16 @@ Requires: bash-completion
bash command line completion support for iproute. bash command line completion support for iproute.
%package arpd %package arpd
Summary: Userspace arp daemon Summary: Userspace ARP daemon
License: GPL-2.0-only License: GPL-2.0-only
Group: Productivity/Networking/Routing Group: Productivity/Networking/Routing
Provides: iproute2:/usr/sbin/arpd
%description arpd %description arpd
The arpd daemon collects gratuitous ARP information, saving it on local The arpd daemon collects gratuitous ARP information, saving it on
disk and feeding it to the kernel on demand to avoid redundant broad-casting local disk and feeding it to the kernel on demand to avoid redundant
due to limited size of the kernel ARP cache. broadcasting due to limited standard size (512..1024 entries,
depending on type) of the kernel ARP cache.
%prep %prep
%autosetup -p1 %autosetup -p1
@ -140,14 +142,14 @@ cp -an README* examples/bpf "$b/%_docdir/%name/"
%_bindir/routel %_bindir/routel
%_bindir/ss %_bindir/ss
%_sbindir/* %_sbindir/*
%exclude %{_sbindir}/arpd %exclude %_sbindir/arpd
#UsrMerge #UsrMerge
/sbin/* /sbin/*
/bin/ip /bin/ip
#EndUsrMerge #EndUsrMerge
%_mandir/man7/* %_mandir/man7/*
%_mandir/man8/* %_mandir/man8/*
%exclude %{_mandir}/man8/arpd.8* %exclude %_mandir/man8/arpd.8*
%dir %_sysconfdir/iproute2 %dir %_sysconfdir/iproute2
%config(noreplace) %_sysconfdir/iproute2/* %config(noreplace) %_sysconfdir/iproute2/*
%_libdir/tc/ %_libdir/tc/
@ -168,7 +170,7 @@ cp -an README* examples/bpf "$b/%_docdir/%name/"
%_datadir/bash-completion/ %_datadir/bash-completion/
%files arpd %files arpd
%{_sbindir}/arpd %_sbindir/arpd
%{_mandir}/man8/arpd.8* %_mandir/man8/arpd.8*
%changelog %changelog