Accepting request 82900 from home:jengelh:bl-b

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82900
OBS-URL: https://build.opensuse.org/package/show/network:utilities/bing?expand=0&rev=7
This commit is contained in:
OBS User mrdocs 2011-09-21 08:18:09 +00:00 committed by Git OBS Bridge
parent a7e3b0c1f1
commit c3711d284a
3 changed files with 9 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 17 19:37:35 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Tue Nov 3 19:09:08 UTC 2009 - coolo@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bing (Version 1.0.5)
# spec file for package bing
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -15,14 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bing
License: BSD 3-clause (or similar)
Group: Productivity/Networking/Diagnostic
PreReq: permissions
AutoReqProv: on
Url: http://www.freenix.fr/freenix/logiciels/bing.html
Summary: A Point-to-Point Bandwidth Measurement Tool
Version: 1.0.5
@ -39,12 +37,6 @@ Bing determines the real (raw, as opposed to available or average)
throughput of a link by measuring ICMP echo request round trip times
for different packet sizes for each end of the link.
Authors:
--------
Pierre Beyssac <pb@fasterix.freenix.fr>
%prep
%setup
%patch0
@ -53,15 +45,12 @@ Authors:
%patch3 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?_smp_mflags}
%install
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man8,usr/sbin}
make install MANDIR=$RPM_BUILD_ROOT/%{_mandir} BINDIR=$RPM_BUILD_ROOT/usr/sbin
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_permissions
%verifyscript

0
ready
View File