Hello community, here is the log from the commit of package fflas-ffpack for openSUSE:Factory checked in at 2018-06-29 22:29:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fflas-ffpack (Old) and /work/SRC/openSUSE:Factory/.fflas-ffpack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fflas-ffpack" Fri Jun 29 22:29:59 2018 rev:9 rq:617863 version:2.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/fflas-ffpack/fflas-ffpack.changes 2018-01-23 13:47:03.526237274 +0100 +++ /work/SRC/openSUSE:Factory/.fflas-ffpack.new/fflas-ffpack.changes 2018-06-29 22:30:04.178316597 +0200 @@ -1,0 +2,6 @@ +Tue Jun 19 15:49:54 UTC 2018 - sch...@suse.de + +- Add option to build without openblas +- Use %license for COPYING.LESSER + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fflas-ffpack.spec ++++++ --- /var/tmp/diff_new_pack.N4nSmG/_old 2018-06-29 22:30:04.690316206 +0200 +++ /var/tmp/diff_new_pack.N4nSmG/_new 2018-06-29 22:30:04.702316197 +0200 @@ -1,7 +1,7 @@ # # spec file for package fflas-ffpack # -# 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 @@ -22,12 +22,14 @@ %define atlas %_libdir/atlas %endif +%bcond_without openblas + Name: fflas-ffpack %define lname libfflas0 Version: 2.3.2 Release: 0 Summary: Finite Field Linear Algebra Subroutines -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Productivity/Scientific/Math Url: https://linbox-team.github.io/fflas-ffpack/ @@ -38,7 +40,12 @@ BuildRequires: gcc-c++ BuildRequires: gmp-devel >= 3.1.1 BuildRequires: libtool >= 2.2 +%if %{with openblas} BuildRequires: openblas-devel +%else +BuildRequires: blas-devel +BuildRequires: cblas-devel +%endif BuildRequires: pkg-config BuildRequires: pkgconfig(givaro) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -82,7 +89,12 @@ fi trap "cat config.log; exit 1" ERR %configure \ - --with-blas-cflags=" " --with-blas-libs="-lopenblas" \ + --with-blas-cflags=" " \ +%if %{with openblas} + --with-blas-libs="-lopenblas" \ +%else + --with-blas-libs="-lcblas -lblas" \ +%endif --enable-doc --with-docdir="%_docdir/%name" --disable-simd trap "" ERR make %{?_smp_mflags} @@ -94,7 +106,8 @@ %files devel %defattr(-,root,root) -%doc ChangeLog COPYING.LESSER +%doc ChangeLog +%license COPYING.LESSER %_bindir/fflas-ffpack-config %_includedir/fflas-ffpack/ %_libdir/pkgconfig/ff*.pc