Hello community,

here is the log from the commit of package bandwidth for openSUSE:Factory 
checked in at 2017-06-08 14:58:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bandwidth (Old)
 and      /work/SRC/openSUSE:Factory/.bandwidth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bandwidth"

Thu Jun  8 14:58:00 2017 rev:1 rq:494725 version:1.4

Changes:
--------
New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.bandwidth.new/bandwidth.changes 2017-06-08 
14:58:06.660449175 +0200
@@ -0,0 +1,31 @@
+-------------------------------------------------------------------
+Thu May 11 19:38:44 UTC 2017 - [email protected]
+
+- Enable arm as well
+
+-------------------------------------------------------------------
+Thu May 11 18:27:45 UTC 2017 - [email protected]
+
+- update to version 1.4
+- fix source url
+
+-------------------------------------------------------------------
+Sat Jul 30 17:39:40 UTC 2016 - [email protected]
+
+- update to version 1.3.1
+  * Added CSV output. Updated ARM code for Raspberry π 3.
+- update to version 1.2
+  * Added ARM code back in.
+- remove broken source URL
+- add patch: bandwidth-fix-cflags.diff for proper cflags handling
+
+-------------------------------------------------------------------
+Mon Sep 21 13:40:02 UTC 2015 - [email protected]
+
+- set ExclusiveArch:  %ix86 x86_64
+
+-------------------------------------------------------------------
+Thu Feb  5 20:42:26 UTC 2015 - [email protected]
+
+- update to version 1.1b
+

New:
----
  bandwidth-1.4.zip
  bandwidth-fix-cflags.diff
  bandwidth.changes
  bandwidth.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bandwidth.spec ++++++
#
# spec file for package bandwidth
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           bandwidth
Version:        1.4
Release:        0
Summary:        Memory and network benchmark program
License:        GPL-2.0
Group:          System/Benchmark
Url:            http://zsmith.co/bandwidth.html
Source:         http://zsmith.co/archives/%{name}-%{version}.zip
Patch0:         bandwidth-fix-cflags.diff
BuildRequires:  nasm
BuildRequires:  unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %{ix86} x86_64

%description
bandwidth is an artificial benchmark primarily for measuring memory bandwidth
on x86 and x86_64 based computers, useful for identifying weaknesses in a
computer's memory subsystem, in the bus architecture, in the cache architecture
and in the processor itself.

%prep
%setup -q
%patch0 -p1
# FIXME:
chmod 644 README.txt COPYING.txt

%build
# currently fails with No rule to make target 'routines-arm-32bit.asm', needed 
by 'bandwidth-arm32'
%ifarch %arm
make %{?_smp_mflags} bandwidth-arm32
%endif

export CFLAGS="%{optflags}"
%ifarch %{ix86}
make %{?_smp_mflags} bandwidth32
mv bandwidth32 %{name}
%endif

%ifarch x86_64
make %{?_smp_mflags} bandwidth64
mv bandwidth64 %{name}
%endif

%install
install -Dsm 755 %{name} %{buildroot}/%{_bindir}/%{name}

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%doc README.txt COPYING.txt

%changelog
++++++ bandwidth-fix-cflags.diff ++++++
diff --git a/Makefile b/Makefile
index a611d75..a115b46 100644
--- a/Makefile
+++ b/Makefile
@@ -19,9 +19,8 @@
 # The author may be reached at [email protected].
 #============================================================================
 
-CFLAGS= -O6 
-CFLAGS= -g
-CC=gcc -Wall
+CFLAGS+= -g -Wall
+CC=gcc
 LD=gcc 
 SRC=main.c 
 OBJ=main.o

Reply via email to