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:
commit
393a01467c
@ -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
|
Wed Oct 5 15:02:56 UTC 2011 - uli@suse.com
|
||||||
|
|
||||||
|
13
bing.spec
13
bing.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bing
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,15 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: bing
|
Name: bing
|
||||||
License: BSD-3-Clause
|
|
||||||
Group: Productivity/Networking/Diagnostic
|
|
||||||
PreReq: permissions
|
PreReq: permissions
|
||||||
Url: http://www.freenix.fr/freenix/logiciels/bing.html
|
Url: http://www.freenix.fr/freenix/logiciels/bing.html
|
||||||
Summary: A Point-to-Point Bandwidth Measurement Tool
|
Summary: A Point-to-Point Bandwidth Measurement Tool
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Productivity/Networking/Diagnostic
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 136
|
Release: 0
|
||||||
Source: bing-%{version}.tar.bz2
|
Source: bing-%{version}.tar.bz2
|
||||||
Patch0: bing-%{version}.dif
|
Patch0: bing-%{version}.dif
|
||||||
Patch1: %{name}-%{version}-permissions.patch
|
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
|
make install MANDIR=$RPM_BUILD_ROOT/%{_mandir} BINDIR=$RPM_BUILD_ROOT/usr/sbin
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
%if 0%{?suse_version} <= 1130
|
||||||
%run_permissions
|
%run_permissions
|
||||||
|
%else
|
||||||
|
%set_permissions /usr/sbin/bing
|
||||||
|
%endif
|
||||||
%verifyscript
|
%verifyscript
|
||||||
%verify_permissions -e /usr/sbin/bing
|
%verify_permissions -e /usr/sbin/bing
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user