Hello community, here is the log from the commit of package o2scl for openSUSE:Factory checked in at 2018-03-11 15:25:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/o2scl (Old) and /work/SRC/openSUSE:Factory/.o2scl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "o2scl" Sun Mar 11 15:25:11 2018 rev:2 rq:585012 version:0.921 Changes: -------- --- /work/SRC/openSUSE:Factory/o2scl/o2scl.changes 2017-08-30 16:24:30.326498738 +0200 +++ /work/SRC/openSUSE:Factory/.o2scl.new/o2scl.changes 2018-03-11 15:25:24.646871985 +0100 @@ -1,0 +2,54 @@ +Tue Mar 6 17:09:20 UTC 2018 - [email protected] + +- Add o2scl-decrease-fit_fix-tolerances.patch: Decrease the + tolerance level on fit_fix test to prevent errors on 32-bit + systems during make check; patch taken from upstream git + (gh#awsteiner/o2scl#7). + +------------------------------------------------------------------- +Tue Mar 6 15:20:58 UTC 2018 - [email protected] + +- Only enable gsl2 features for openSUSE >= 1500; gsl >= 2.0 is + not available for older openSUSE. + +------------------------------------------------------------------- +Tue Feb 27 13:15:57 UTC 2018 - [email protected] + +- Update to version 0.921: + * New vector_autocorr() functions were created to analyze + autocorrelations. + * The class serach_vec now has improved thread safety. + * Kriging classes interpm_krige_nn, interpm_krige, and + interp_krige were created. These are still a bit experimental. + * A new Robbins-Monro iteration root-finding class has been + created. A class smooth_func for smoothing multivariate + functions by averaging in a neighborhood has been created. + These should help dealing with noisy functions. + * All 'funct11' classes have been renamed to 'funct'. + * New vector bin size functions have been created. + * The 'acol' command has been reworked to handle HDF5 I/O for + more types. It can now manipulate vectors, matrices, and + tensors in several new ways. The interaction with o2graph in + o2sclpy has also been improved. + * The Markov chain Monte Carlo classes have been updated, but + are still experimental. Similarly with the probability + density distribution classes where new bivariate gaussian + and AMR-like probability densities were created. + * The internal bibliography mechanics have been improved. + * Error handling in nucleus_rmf has been improved. + * Updates to eos_tov_vectors, eos_had_rmf, eos_tov_vectors, + eos_had_skyrme. + * Created an eos_cs2_poly class and anneal_para_ts. + * Nuclear masses were updated for the 2016 AME data set. + * The calculation of dndT, dndmu, and dsdT for relativistic + fermions has been improved. + * The SFHo and SFHx EOSs were updated. + * Several internal changes have been made to allow Ubuntu-style + packages. The 'make check' target now works without 'make + install'. A snapcraft snap has also been created. These are + still in progress. +- Run tests in a check section. +- Remove bogus duplicated doc files from non-std location + [/usr/search]. + +------------------------------------------------------------------- Old: ---- o2scl-0.920.tar.gz New: ---- o2scl-0.921.tar.gz o2scl-decrease-fit_fix-tolerances.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ o2scl.spec ++++++ --- /var/tmp/diff_new_pack.wKZYYu/_old 2018-03-11 15:25:26.298812722 +0100 +++ /var/tmp/diff_new_pack.wKZYYu/_new 2018-03-11 15:25:26.302812578 +0100 @@ -1,7 +1,7 @@ # # spec file for package o2scl # -# 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 @@ -18,15 +18,18 @@ %define shlib lib%{name}0 Name: o2scl -Version: 0.920 +Version: 0.921 Release: 0 Summary: Object-oriented Scientific Computing Library License: GPL-3.0 Group: Productivity/Scientific/Math Url: http://web.utk.edu/~asteine1/o2scl Source: https://github.com/awsteiner/o2scl/releases/download/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: armadillo-devel fdupes +# PATCH-FIX-UPSTREAM o2scl-decrease-fit_fix-tolerances.patch gh#awsteiner/o2scl#7 [email protected] -- Decrease the tolerance level on fit_fix test to prevent errors on 32-bit systems; patch taken from upstream git +Patch0: o2scl-decrease-fit_fix-tolerances.patch +BuildRequires: armadillo-devel BuildRequires: eigen3-devel +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hdf5-devel %if 0%{?suse_version} > 1320 @@ -84,15 +87,24 @@ %prep %setup -q +%patch0 -p1 %build -%configure --enable-gsl2 --enable-eigen --disable-static +%configure \ +%if 0%{?suse_version} >= 1500 + --enable-gsl2 \ +%endif + --enable-eigen \ + --disable-static make %{?_smp_mflags} %install %make_install mkdir -p %{buildroot}%{_docdir}/%{name} -mv %{buildroot}%{_prefix}/doc/o2scl/* %{buildroot}%{_docdir}/%{name}/ +mv %{buildroot}%{_datadir}/doc/o2scl/* %{buildroot}%{_docdir}/%{name}/ + +# REMOVE BOGUS DUPLICATD DOC +rm -fr %{buildroot}%{_prefix}/search # Remove Makefile junk find %{buildroot}%{_docdir}/%{name}/ -name "Makefile.*" -delete -print @@ -102,6 +114,9 @@ %fdupes %{buildroot}%{_docdir}/%{name}/ +%check +make %{?_smp_mflags} check + %post -n %{shlib} -p /sbin/ldconfig %postun -n %{shlib} -p /sbin/ldconfig ++++++ o2scl-0.920.tar.gz -> o2scl-0.921.tar.gz ++++++ /work/SRC/openSUSE:Factory/o2scl/o2scl-0.920.tar.gz /work/SRC/openSUSE:Factory/.o2scl.new/o2scl-0.921.tar.gz differ: char 5, line 1 ++++++ o2scl-decrease-fit_fix-tolerances.patch ++++++ >From df279f8caafd6be5e9fb2dc5fe4bfeeea9253946 Mon Sep 17 00:00:00 2001 From: awsteiner <[email protected]> Date: Tue, 6 Mar 2018 08:47:46 -0800 Subject: [PATCH] Decrease fit_fix tolerances for 32-bit systems. --- src/fit/fit_fix_ts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fit/fit_fix_ts.cpp b/src/fit/fit_fix_ts.cpp index e0060a7..9ae9f94 100644 --- a/src/fit/fit_fix_ts.cpp +++ b/src/fit/fit_fix_ts.cpp @@ -245,7 +245,7 @@ int main(void) { t.test_rel(par_31[0],par_32[0],1.0e-9,"par_31/32 1"); t.test_rel(par_31[1],par_32[1],1.0e-9,"par_31/32 2"); - if (k==0) t.test_rel_mat(2,2,covar_31,covar_32,1.0e-9,"covar_31/32"); + if (k==0) t.test_rel_mat(2,2,covar_31,covar_32,1.0e-7,"covar_31/32"); t.test_rel(chi2_31,chi2_32,1.0e-9,"chi2_31/32"); }
