Accepting request 122395 from network:utilities

- run_permissions macro is obsolete: use set_permissions
  (bnc#764099)

OBS-URL: https://build.opensuse.org/request/show/122395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bing?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2012-05-26 07:21:50 +00:00 committed by Git OBS Bridge
commit 393a01467c
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 25 13:40:45 UTC 2012 - puzel@suse.com
- run_permissions macro is obsolete: use set_permissions
(bnc#764099)
-------------------------------------------------------------------
Wed Oct 5 15:02:56 UTC 2011 - uli@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bing
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,14 @@
#
Name: bing
License: BSD-3-Clause
Group: Productivity/Networking/Diagnostic
PreReq: permissions
Url: http://www.freenix.fr/freenix/logiciels/bing.html
Summary: A Point-to-Point Bandwidth Measurement Tool
License: BSD-3-Clause
Group: Productivity/Networking/Diagnostic
Version: 1.0.5
Release: 136
Release: 0
Source: bing-%{version}.tar.bz2
Patch0: bing-%{version}.dif
Patch1: %{name}-%{version}-permissions.patch
@ -52,7 +51,11 @@ mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man8,usr/sbin}
make install MANDIR=$RPM_BUILD_ROOT/%{_mandir} BINDIR=$RPM_BUILD_ROOT/usr/sbin
%post
%if 0%{?suse_version} <= 1130
%run_permissions
%else
%set_permissions /usr/sbin/bing
%endif
%verifyscript
%verify_permissions -e /usr/sbin/bing