Hello community, here is the log from the commit of package o2scl for openSUSE:Factory checked in at 2019-09-18 13:14:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/o2scl (Old) and /work/SRC/openSUSE:Factory/.o2scl.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "o2scl" Wed Sep 18 13:14:15 2019 rev:7 rq:731589 version:0.923 Changes: -------- --- /work/SRC/openSUSE:Factory/o2scl/o2scl.changes 2019-06-19 20:56:03.249860737 +0200 +++ /work/SRC/openSUSE:Factory/.o2scl.new.7948/o2scl.changes 2019-09-18 13:15:12.476642340 +0200 @@ -1,0 +2,6 @@ +Fri Sep 13 12:20:49 UTC 2019 - Atri Bhattacharya <badshah...@gmail.com> + +- Add o2scl-disable-failing-tests.patch: Disable LU test that + fails on x86_64 (gh#awsteiner/o2scl#9). + +------------------------------------------------------------------- New: ---- o2scl-disable-failing-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ o2scl.spec ++++++ --- /var/tmp/diff_new_pack.nmVM6O/_old 2019-09-18 13:15:13.372642152 +0200 +++ /var/tmp/diff_new_pack.nmVM6O/_new 2019-09-18 13:15:13.376642151 +0200 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,6 +25,8 @@ Group: Productivity/Scientific/Math Url: https://isospin.roam.utk.edu/static/code/o2scl/ Source: https://github.com/awsteiner/o2scl/releases/download/v%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM o2scl-disable-failing-tests.patch gh#awsteiner/o2scl#9 badshah...@gmail.com -- Disable LU test that fails on x86_64 +Patch0: o2scl-disable-failing-tests.patch BuildRequires: armadillo-devel BuildRequires: eigen3-devel BuildRequires: fdupes @@ -38,6 +40,9 @@ BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: pkgconfig(gsl) +# SECTION Needed for Patch0 +BuildRequires: libtool +# /SECTION Recommends: %{name}-doc = %{version} %description @@ -85,8 +90,10 @@ %prep %setup -q +%patch0 -p1 %build +autoreconf -fvi %configure \ %if 0%{?suse_version} >= 1500 --enable-gsl2 \ ++++++ o2scl-disable-failing-tests.patch ++++++ Index: o2scl-0.923/src/linalg/Makefile.am =================================================================== --- o2scl-0.923.orig/src/linalg/Makefile.am +++ o2scl-0.923/src/linalg/Makefile.am @@ -11,7 +11,7 @@ HEADER_VAR = cblas.h lu.h lanczos.h trid cholesky_base.h qrpt.h qrpt_base.h bidiag.h bidiag_base.h \ svd.h svd_base.h -TEST_VAR = cblas.scr permutation.scr lanczos.scr tridiag.scr lu.scr \ +TEST_VAR = cblas.scr permutation.scr lanczos.scr tridiag.scr \ qr.scr qrpt.scr householder.scr hh.scr linear_solver.scr \ cholesky.scr bidiag.scr svdstep.scr svd.scr @@ -82,7 +82,7 @@ pkginclude_HEADERS = $(HEADER_VAR) # libtool testing targets # ------------------------------------------------------------ -check_PROGRAMS = cblas_ts permutation_ts lanczos_ts tridiag_ts lu_ts \ +check_PROGRAMS = cblas_ts permutation_ts lanczos_ts tridiag_ts \ qr_ts householder_ts hh_ts linear_solver_ts svdstep_ts \ cholesky_ts qrpt_ts bidiag_ts svd_ts @@ -117,8 +117,6 @@ lanczos.scr: lanczos_ts$(EXEEXT) ./lanczos_ts$(EXEEXT) > lanczos.scr tridiag.scr: tridiag_ts$(EXEEXT) ./tridiag_ts$(EXEEXT) > tridiag.scr -lu.scr: lu_ts$(EXEEXT) - ./lu_ts$(EXEEXT) > lu.scr qr.scr: qr_ts$(EXEEXT) ./qr_ts$(EXEEXT) > qr.scr qrpt.scr: qrpt_ts$(EXEEXT)