From 3656ac869d2f5bd25263d122160d3475a6d51370f73a0076ae521d2adf6bd0d5 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Wed, 13 Dec 2017 12:08:09 +0000 Subject: [PATCH] Accepting request 556647 from home:AndreasStieger:branches:network:utilities - fping now has cap_net_raw, fix build in Factory (bsc#1047921) OBS-URL: https://build.opensuse.org/request/show/556647 OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=35 --- fping.changes | 5 +++++ fping.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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