diff --git a/fping.changes b/fping.changes index 8feab21..dc33df7 100644 --- a/fping.changes +++ b/fping.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 13 11:25:53 UTC 2017 - astieger@suse.com + +- fping now has cap_net_raw, fix build in Factory (bsc#1047921) + ------------------------------------------------------------------- Wed Jun 21 14:52:07 UTC 2017 - tchvatal@suse.com diff --git a/fping.spec b/fping.spec index 7abe9c7..2541ae4 100644 --- a/fping.spec +++ b/fping.spec @@ -24,6 +24,7 @@ License: MIT Group: Productivity/Networking/Diagnostic Url: http://www.fping.org Source: http://fping.org/dist/%{name}-%{version}.tar.gz +Requires(pre): permissions BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -54,10 +55,16 @@ make %{?_smp_mflags} %install %make_install +%post +%set_permissions %{_sbindir}/fping + +%verifyscript +%verify_permissions -e %{_sbindir}/fping + %files %defattr(-,root,root) %doc CHANGELOG.md INSTALL %{_mandir}/man8/fping.8%{ext_man} -%{_sbindir}/fping +%verify(not mode caps) %attr(0755,root,root) %{_sbindir}/fping %changelog