Hello community,
here is the log from the commit of package o2scl for openSUSE:Factory checked in at 2018-10-31 13:20:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/o2scl (Old)
and /work/SRC/openSUSE:Factory/.o2scl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "o2scl"
Wed Oct 31 13:20:08 2018 rev:5 rq:645528 version:0.922
Changes:
--------
--- /work/SRC/openSUSE:Factory/o2scl/o2scl.changes 2018-04-25 10:01:54.181628815 +0200
+++ /work/SRC/openSUSE:Factory/.o2scl.new/o2scl.changes 2018-10-31 13:21:43.559041378 +0100
@@ -1,0 +2,44 @@
+Tue Oct 30 12:46:53 UTC 2018 - Dirk Stoecker
+
+- Fix URL (old link dead)
+
+-------------------------------------------------------------------
+Mon Oct 22 14:30:29 UTC 2018 - badshah400@gmail.com
+
+- Update to version 0.922:
+ * In the table class, the set() function no longer automatically
+ adds rows or columns. This prevents some behavior which was
+ not intuitive for users.
+ * Several tensor functions have been added, including
+ tensor::swap_data(), tensor_out(), tensor::min(),
+ tensor::max(), tensor::copy(), tensor::is_valid().
+ * Slicing for tensor_grid objects has been improved.
+ * Copy constructors for tensor and tensor_grid have been
+ created.
+ * A few long double integration classes have been added when
+ higher accuracy is required.
+ * The MCMC classes have been completely reworked, offering
+ better support for OpenMP and MPI parallelism.
+ * The acol command has been expanded and improved in several
+ ways. Code for o2graph has been moved out and the
+ documentation has been improved.
+ * The conversion functions in convert_units now has a const
+ version
+ * The documentation has been improved everywhere.
+ * A new nearest neighbor interpolation type has been added.
+ * A seed bug in rng_gsl has been fixed.
+ * HDF5 I/0 for table3d types now allows const references.
+ * The cloud_file class is updated and simplified.
+ * The prob_dens_func_amr class has been updated.
+ * Some work has been done on heat capacity functions for
+ particle objects.
+ * The fermion_rel::calc_mu() and pair_mu() functions work better
+ now with bad initial guesses.
+ * The tov_solve, eos_tov, eos_cs2_const, and eos_had_rmf_hyp
+ classes are improved.
+- Drop o2scl-decrease-fit_fix-tolerances.patch: upstreamed.
+- Add o2scl-remove-glob_wrapper-test.patch: Remove glob_wrapper()
+ from misc_ts because it isn't platform independent; patch taken
+ from upstream git (gh#awsteiner/o2scl#8).
+
+-------------------------------------------------------------------
Old:
----
o2scl-0.921.tar.gz
o2scl-decrease-fit_fix-tolerances.patch
New:
----
o2scl-0.922.tar.gz
o2scl-remove-glob_wrapper-test.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ o2scl.spec ++++++
--- /var/tmp/diff_new_pack.bPMhdJ/_old 2018-10-31 13:21:46.635038510 +0100
+++ /var/tmp/diff_new_pack.bPMhdJ/_new 2018-10-31 13:21:46.639038506 +0100
@@ -18,15 +18,15 @@
%define shlib lib%{name}0
Name: o2scl
-Version: 0.921
+Version: 0.922
Release: 0
Summary: Object-oriented Scientific Computing Library
License: GPL-3.0-only
Group: Productivity/Scientific/Math
-Url: http://web.utk.edu/~asteine1/o2scl
+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-decrease-fit_fix-tolerances.patch gh#awsteiner/o2scl#7 badshah400@opensuse.org -- 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
+# PATCH-FIX-UPSTREAM o2scl-remove-glob_wrapper-test.patch gh#awsteiner/o2scl#8 badshah400@gmail.com -- Remove glob_wrapper() from misc_ts because it isn't platform independent; patch taken from upstream git.
+Patch0: o2scl-remove-glob_wrapper-test.patch
BuildRequires: armadillo-devel
BuildRequires: eigen3-devel
BuildRequires: fdupes
++++++ o2scl-0.921.tar.gz -> o2scl-0.922.tar.gz ++++++
/work/SRC/openSUSE:Factory/o2scl/o2scl-0.921.tar.gz /work/SRC/openSUSE:Factory/.o2scl.new/o2scl-0.922.tar.gz differ: char 5, line 1
++++++ o2scl-remove-glob_wrapper-test.patch ++++++
From 5a946ee4e0fb02ed595ba8c2c8805f133b2ef2fd Mon Sep 17 00:00:00 2001
From: "Andrew W. Steiner"
Date: Mon, 22 Oct 2018 10:09:12 -0400
Subject: [PATCH] Removed glob_wrapper() from misc_ts because it isn't platform
independent.
---
src/base/misc_ts.cpp | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/src/base/misc_ts.cpp b/src/base/misc_ts.cpp
index 2fefa14e..558b9772 100644
--- a/src/base/misc_ts.cpp
+++ b/src/base/misc_ts.cpp
@@ -105,10 +105,40 @@ int main(void) {
#endif
+#ifdef O2SCL_NEVER_DEFINED
+
+ // This appears not to be sufficiently platform independent,
+ // see
+ // vec_index doesn't work in older compilers, so
+ // we comment this out for now.
+
+ vec_index vi;
+ vi.append("a1");
+ vi.append("c1");
+ vi.append("b1");
+ t.test_gen(vi(1)==((string)"c1"),"vec_index 1");
+ t.test_gen(vi[2]==((string)"b1"),"vec_index 2");
+ t.test_gen(vi("a1")==0,"vec_index 3");
+ t.test_gen(vi("b1")==2,"vec_index 4");
+ vec_index vi2={"a1","c1","b1"};
+ t.test_gen(vi2(1)==((string)"c1"),"vec_index 5");
+ t.test_gen(vi2[2]==((string)"b1"),"vec_index 6");
+ t.test_gen(vi2("a1")==0,"vec_index 7");
+ t.test_gen(vi2("b1")==2,"vec_index 8");
+
+#endif
+
+#ifdef O2SCL_NEVER_DEFINED
+
+ // This appears not to be sufficiently platform independent, see
+ // https://github.com/awsteiner/o2scl/issues/8 for problem with
+ // openSUSE.
vectorstd::string matches;
glob_wrapper("../anneal/*.h",matches);
t.test_gen(matches.size()==4,"glob test");
+#endif
+
t.report();
return 0;
}