Hello community, here is the log from the commit of package iml for openSUSE:Factory checked in at 2018-08-18 00:02:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iml (Old) and /work/SRC/openSUSE:Factory/.iml.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iml" Sat Aug 18 00:02:45 2018 rev:3 rq:629397 version:1.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/iml/iml.changes 2017-09-13 22:32:48.274750229 +0200 +++ /work/SRC/openSUSE:Factory/.iml.new/iml.changes 2018-08-18 00:03:03.690888701 +0200 @@ -1,0 +2,5 @@ +Wed Aug 15 12:22:02 UTC 2018 - sch...@suse.de + +- Add option to build without openblas + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iml.spec ++++++ --- /var/tmp/diff_new_pack.I8MKvk/_old 2018-08-18 00:03:04.318890577 +0200 +++ /var/tmp/diff_new_pack.I8MKvk/_new 2018-08-18 00:03:04.338890637 +0200 @@ -1,7 +1,7 @@ # # spec file for package iml # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,6 +16,8 @@ # +%bcond_without openblas + Name: iml %define lname libiml0 Version: 1.0.5 @@ -27,7 +29,12 @@ Source: http://www.cs.uwaterloo.ca/~astorjoh/%name-%version.tar.bz2 BuildRequires: gmp-devel >= 3.1.1 +%if %{with openblas} BuildRequires: openblas-devel +%else +BuildRequires: blas-devel +BuildRequires: cblas-devel +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -68,7 +75,13 @@ %setup -q %build -%configure --enable-shared --disable-static --with-cblas="-lopenblas" +%configure --enable-shared --disable-static \ +%if %{with openblas} + --with-cblas="-lopenblas" \ +%else + --with-cblas="-lcblas -lblas" \ +%endif + %{nil} make %{?_smp_mflags} %check