Hello community,

here is the log from the commit of package arpack-ng for openSUSE:Factory 
checked in at 2020-07-01 14:26:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arpack-ng (Old)
 and      /work/SRC/openSUSE:Factory/.arpack-ng.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arpack-ng"

Wed Jul  1 14:26:23 2020 rev:15 rq:816560 version:3.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/arpack-ng/arpack-ng.changes      2020-01-04 
19:21:25.513139469 +0100
+++ /work/SRC/openSUSE:Factory/.arpack-ng.new.3060/arpack-ng.changes    
2020-07-01 14:26:27.686724115 +0200
@@ -1,0 +2,13 @@
+Tue Jun 16 21:36:18 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add arpack-ng-double-comparison.patch: Add a tolerance for
+  testing float equivalence in TESTS/bug_79_double_complex.f;
+  fixes build failure for i586 [gh#opencollab/arpack-ng#269].
+
+-------------------------------------------------------------------
+Sat Jun  6 21:01:08 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add arpack-ng-gcc10.patch to fix build against GCC 10
+  [gh#opencollab/arpack-ng#239, gh#opencollab/arpack-ng#245].
+
+-------------------------------------------------------------------

New:
----
  arpack-ng-double-comparison.patch
  arpack-ng-gcc10.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ arpack-ng.spec ++++++
--- /var/tmp/diff_new_pack.PCoCW9/_old  2020-07-01 14:26:28.702727266 +0200
+++ /var/tmp/diff_new_pack.PCoCW9/_new  2020-07-01 14:26:28.702727266 +0200
@@ -85,6 +85,10 @@
 Group:          System/Libraries
 URL:            https://github.com/opencollab/arpack-ng
 Source0:        
https://github.com/opencollab/arpack-ng/archive/%{version}.tar.gz
+# PATCH-FIX-UPSTREAM arpack-ng-gcc10.patch gh#opencollab/arpack-ng#239 
gh#opencollab/arpack-ng#245 badshah...@gmail.com -- Fix building against GCC 
10, patches taken from upstream commits
+Patch0:         arpack-ng-gcc10.patch
+# PATCH-FIX-UPSTREAM arpack-ng-double-comparison.patch 
gh#opencollab/arpack-ng#269 badshah...@gmail.com -- Compare difference to zerop 
to test float equivalence in TESTS/bug_79_double_complex.f; fixes build failure 
for i586
+Patch1:         arpack-ng-double-comparison.patch
 %if %{with mpi}
 BuildRequires:  %{mpi_family}%{?mpi_ext}-devel
 %endif
@@ -137,6 +141,8 @@
 
 %prep
 %setup -q -n arpack-ng-%{version}
+%patch0 -p1
+%patch1 -p1
 
 # create baselibs.conf based on flavor
 cat >  %{_sourcedir}/baselibs.conf <<EOF

++++++ arpack-ng-double-comparison.patch ++++++
Index: arpack-ng-3.7.0/TESTS/bug_79_double_complex.f
===================================================================
--- arpack-ng-3.7.0.orig/TESTS/bug_79_double_complex.f
+++ arpack-ng-3.7.0/TESTS/bug_79_double_complex.f
@@ -217,7 +217,7 @@ c           %---------------------------
             go to 9000
          end if
  9000 continue
-      if (res1 .ne. res2) then
+      if (abs(res1 - res2) > 0.0D+0) then
          stop 1
       end if
       end
++++++ arpack-ng-gcc10.patch ++++++
++++ 4456 lines (skipped)


Reply via email to