Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package healpix for openSUSE:Factory checked in at 2021-08-23 10:08:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/healpix (Old) and /work/SRC/openSUSE:Factory/.healpix.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "healpix" Mon Aug 23 10:08:21 2021 rev:2 rq:913598 version:3.80 Changes: -------- --- /work/SRC/openSUSE:Factory/healpix/healpix.changes 2020-12-12 20:32:30.953861528 +0100 +++ /work/SRC/openSUSE:Factory/.healpix.new.1899/healpix.changes 2021-08-23 10:09:45.180135626 +0200 @@ -1,0 +2,29 @@ +Wed Aug 18 02:05:08 UTC 2021 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 3.80: + * General: + - addition of SHARP_PARAL and CXX_PARAL to control the + parallel implementation of the libsharp library and C++ + library and codes. + - PYTHON now defaults to python3. + * C++: + - the line-integral convolution interface is now accessible + not only from the command line, but also via C++ calls, to + allow calling from healpy. + - some internals were restructured to allow easier integration + with SWIG. + * Fortran 90 facilities and subroutines: + - Improvement of query_disc routine in inclusive mode. + - The routines alm2map_spin and map2alm_spin now accept any + (integer) spin values |s|>=0, but the scalar routines + alm2map and map2alm are still recommended for vanishing spin + (s=0). + - Correction of bugs preventing the compilation with versions + 10.* of gfortran. + - Fixed bug affecting map2gif when compiled with versions 10.* + of gfortran and gcc. +- Add healpix-cfitsio-version-format-change.patch -- Adapt to new + three-number version format of cfitsio + [https://sourceforge.net/p/healpix/bugs/122/]. + +------------------------------------------------------------------- Old: ---- healpix-3.70.tar.xz New: ---- healpix-3.80.tar.xz healpix-cfitsio-version-format-change.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ healpix.spec ++++++ --- /var/tmp/diff_new_pack.nypCYP/_old 2021-08-23 10:09:45.912134773 +0200 +++ /var/tmp/diff_new_pack.nypCYP/_new 2021-08-23 10:09:45.916134768 +0200 @@ -1,7 +1,7 @@ # # spec file for package healpix # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,16 @@ %define cpkg chealpix %define clib lib%{cpkg}0 %define cxxpkg healpix_cxx -%define cxxlib lib%{cxxpkg}2 +%define cxxlib lib%{cxxpkg}3 Name: healpix -Version: 3.70 +Version: 3.80 Release: 0 Summary: Data Analysis, Simulations and Visualization on the Sphere License: GPL-2.0-or-later URL: https://healpix.sourceforge.io Source: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM healpix-cfitsio-version-format-change.patch badshah...@gmail.com -- Adapt to new three-number version format of cfitsio +Patch0: healpix-cfitsio-version-format-change.patch BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig @@ -92,7 +94,7 @@ healpix in the C++ language. %prep -%setup -q +%autosetup -p1 %build # Top-level configure script is useless, need to use individual dir scripts ++++++ _service ++++++ --- /var/tmp/diff_new_pack.nypCYP/_old 2021-08-23 10:09:45.944134735 +0200 +++ /var/tmp/diff_new_pack.nypCYP/_new 2021-08-23 10:09:45.948134731 +0200 @@ -1,8 +1,8 @@ <services> <service name="tar_scm" mode="disabled"> <param name="scm">svn</param> - <param name="url">https://svn.code.sf.net/p/healpix/code/branches/branch_v370r1154</param> - <param name="version">3.70</param> + <param name="url">https://svn.code.sf.net/p/healpix/code/branches/branch_v380r1183</param> + <param name="version">3.80</param> <!-- Licensing problems with idl source codes --> <param name="exclude">src/idl*</param> <param name="filename">healpix</param> ++++++ healpix-3.70.tar.xz -> healpix-3.80.tar.xz ++++++ /work/SRC/openSUSE:Factory/healpix/healpix-3.70.tar.xz /work/SRC/openSUSE:Factory/.healpix.new.1899/healpix-3.80.tar.xz differ: char 15, line 1 ++++++ healpix-cfitsio-version-format-change.patch ++++++ Index: healpix-3.80/src/cxx/cxxsupport/fitshandle.cc =================================================================== --- healpix-3.80.orig/src/cxx/cxxsupport/fitshandle.cc +++ healpix-3.80/src/cxx/cxxsupport/fitshandle.cc @@ -799,12 +799,27 @@ class cfitsio_checker float fitsversion; planck_assert(fits_get_version(&fitsversion), "error calling fits_get_version()"); + /* CFITSIO 4.x switched to a three version format (4.0.0), as opposed + * to previous two-number versions (3.47). Version 4 defines a new macro + * CFITSIO_MICRO to track the patch level in the version. We check if + * macro is defined, and fall back to the old behaviour if it is not. + * If it is, we adapt to the new value returned by 'fits_get_version'. + */ +#ifdef CFITSIO_MICRO + int v_header = nearest<int>(1E6*CFITSIO_MAJOR + 1000.*CFITSIO_MINOR + CFITSIO_MICRO), + v_library = nearest<int>(1E6*fitsversion); + if (v_header!=v_library) + cerr << endl << "WARNING: version mismatch between CFITSIO header (v" + << dataToString(v_header*1.0E-6) << ") and linked library (v" + << dataToString(v_library*1.0E-6) << ")." << endl << endl; +#else int v_header = nearest<int>(1000.*CFITSIO_VERSION), v_library = nearest<int>(1000.*fitsversion); if (v_header!=v_library) cerr << endl << "WARNING: version mismatch between CFITSIO header (v" << dataToString(v_header*0.001) << ") and linked library (v" << dataToString(v_library*0.001) << ")." << endl << endl; +#endif } };