Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package casacore for openSUSE:Factory 
checked in at 2022-05-02 16:25:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/casacore (Old)
 and      /work/SRC/openSUSE:Factory/.casacore.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "casacore"

Mon May  2 16:25:15 2022 rev:4 rq:974246 version:3.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/casacore/casacore.changes        2021-04-21 
20:59:03.378168918 +0200
+++ /work/SRC/openSUSE:Factory/.casacore.new.1538/casacore.changes      
2022-05-02 16:25:26.940830163 +0200
@@ -1,0 +2,20 @@
+Fri Apr 29 11:57:45 UTC 2022 - Atri Bhattacharya <[email protected]>
+
+- Add casacore-link-math.patch: Explicitly link to math library
+  when building mirlab [gh#casacore/casacore#1190].
+- Drop ExcludeArch: %ix86 to allow building for related 32-bit
+  systems in light of previous commit (Fri Mar 11 10:04:22 UTC
+  2022).
+
+-------------------------------------------------------------------
+Wed Apr 27 08:33:04 UTC 2022 - Jan Engelhardt <[email protected]>
+
+- Add an rpmlintrc for shlib-policy-name-error
+
+-------------------------------------------------------------------
+Fri Mar 11 10:04:22 UTC 2022 - Guillaume GARDET <[email protected]>
+
+- Add upstream patch to fix build on 32-bit architectures:
+  * 1129.patch
+
+-------------------------------------------------------------------

New:
----
  1129.patch
  casacore-link-math.patch
  casacore-rpmlintrc

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

Other differences:
------------------
++++++ casacore.spec ++++++
--- /var/tmp/diff_new_pack.Y9xkge/_old  2022-05-02 16:25:27.472830755 +0200
+++ /var/tmp/diff_new_pack.Y9xkge/_new  2022-05-02 16:25:27.476830759 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package casacore
+# spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -86,8 +86,13 @@
 License:        LGPL-2.0-or-later
 URL:            https://github.com/casacore/casacore
 Source:         
https://github.com/casacore/casacore/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
+Source99:       casacore-rpmlintrc
 # PATCH-FIX-UPSTREAM casacore-fitsio-header.patch [email protected] -- Fix 
location of cfitsio headers used in sources
-Patch2:         casacore-fitsio-header.patch
+Patch1:         casacore-fitsio-header.patch
+# PATCH-FIX-UPSTREAM - https://github.com/casacore/casacore/pull/1129
+Patch2:         1129.patch
+# PATCH-FIX-UPSTREAM casacore-link-math.patch [email protected] -- 
Explicitly link to math library when building mirlab
+Patch3:         casacore-link-math.patch
 BuildRequires:  bison
 BuildRequires:  blas-devel
 BuildRequires:  cmake
@@ -107,7 +112,6 @@
 BuildRequires:  pkgconfig(ncurses)
 BuildRequires:  pkgconfig(wcslib)
 BuildRequires:  pkgconfig(zlib)
-ExcludeArch:    %ix86
 %if %{with mpi}
 BuildRequires:  %{mpi_flavor}%{?mpi_vers}-config
 BuildRequires:  %{mpi_flavor}%{?mpi_vers}-devel

++++++ 1129.patch ++++++
>From 3af0b0b121f0ebf0688e2c2342a4dc6fd024aea5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Offringa?= <[email protected]>
Date: Mon, 8 Nov 2021 20:35:01 +0100
Subject: [PATCH] Fix compilation of RefTable on i386 platform

Fixes #1123. I've tested compilation on a i386 virtual machine, and it's fixed. 
However,
there are many failing unit tests on the i386 VM.
---
 tables/Tables/RefTable.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tables/Tables/RefTable.cc b/tables/Tables/RefTable.cc
index 27dba419aa1..0fcbc08b170 100644
--- a/tables/Tables/RefTable.cc
+++ b/tables/Tables/RefTable.cc
@@ -115,7 +115,7 @@ RefTable::RefTable (BaseTable* btp, const Vector<Bool>& 
mask)
     tdescPtr_p = new TableDesc (btp->tableDesc(), TableDesc::Scratch);
     setup (btp, Vector<String>());
     //# Store the rownr if the mask is set.
-    rownr_t nr = min (mask.nelements(), btp->nrow());
+    rownr_t nr = std::min<rownr_t> (mask.nelements(), btp->nrow());
     for (rownr_t i=0; i<nr; i++) {
        if (mask(i)) {
            addRownr (i);

++++++ casacore-link-math.patch ++++++
Index: casacore-3.4.0/casa/CMakeLists.txt
===================================================================
--- casacore-3.4.0.orig/casa/CMakeLists.txt
+++ casacore-3.4.0/casa/CMakeLists.txt
@@ -252,6 +252,8 @@ if (READLINE_FOUND)
     list (APPEND de_libraries ${READLINE_LIBRARIES})
 endif (READLINE_FOUND)
 
+find_library(libm m)
+
 target_link_libraries (
 casa_casa
 ${de_libraries}

++++++ casacore-rpmlintrc ++++++
# guideline does not cover multibuild/flavors
addFilter("libcasacore6-openmpi\d+.\w+: E: shlib-policy-name-error.*")

Reply via email to