Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cfitsio for openSUSE:Factory checked 
in at 2022-12-14 14:11:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cfitsio (Old)
 and      /work/SRC/openSUSE:Factory/.cfitsio.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cfitsio"

Wed Dec 14 14:11:00 2022 rev:24 rq:1042797 version:4.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes  2022-04-02 
18:19:42.590834582 +0200
+++ /work/SRC/openSUSE:Factory/.cfitsio.new.1835/cfitsio.changes        
2022-12-14 14:11:15.199571964 +0100
@@ -1,0 +2,47 @@
+Sun Dec 11 21:51:12 UTC 2022 - Stefan Brüns <stefan.bru...@rwth-aachen.de>
+
+- Update to version 4.2.0:
+  - This release includes patches to security vulnerabilities.
+    We strongly encourage this upgrade, particularly for those
+    running CFITSIO in web accessible applications.
+  - Fix to fits_read_key function, which was failing to properly
+    read keywords declared type TUINT on compilers where
+    sizeof(int) = sizeof(long).
+  - Added new functions fits_read_cols and fits_write_cols to
+    efficiently read or write multiple columns in a single
+    function call
+  - Added new function fits_copy_selrows to copy only selected
+    rows, such as the selected rows returned by fits_find_rows
+  - Added new calculator functions ERF(X), ERFC(X) and GAMMA(X),
+    which are mathematical special functions of the same name
+  - Added new calculator function GTIFIND() which reports which
+    GTI row brackets a given time sample
+  - Added new calculator functions which operate upon vector table
+    values NAXIS(V), NAXES(V,n), ELEMENTNUM(V) and AXISELEM(V,n),
+    and ARRAY(X,d) which promotes scalar X to a vector or array
+    with given dimensions.
+  - The CFITSIO histogramming code now handles binning by any
+    arbitrary calculator expression rather than just a column name.
+    Both the binned columns as well as the optional weights may be
+    calculator expressions, enclosed in parentheses. 
+  - Binning of vector columns or expressions is now supported, as
+    long as all binned inputs (as well as the optional weighting)
+    have the same vector dimensions. Binning of variable-length
+    columns remains unsupported.
+  - A bug that caused histogram weights from columns that are null
+    values to be tallied along with non-null values has been fixed.
+  - The CFITSIO calculator and histogramming functionality is now
+    fully reentrant and does not require multithreading interlocks.
+  - A long-standing segmentation fault bug in the histogramming
+    code related to binning any value using the "reciprocal" /XXXX
+    notation has been fixed.
+  - Added mutex locks for thread safety in ftgiou and ftfiou.
+  - Added several Fortran wrappers to support image read/write when
+    'fpixel' and 'nelements' are 8-byte integers.
+  - Fixed bug which was adding spaces to some cases of long string
+    key value output.
+- Enable SSE2 on x86_64
+- Package fitscopy util
+- Enable bzip2 support
+
+-------------------------------------------------------------------

Old:
----
  cfitsio-4.1.0.tar.gz

New:
----
  cfitsio-4.2.0.tar.gz

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

Other differences:
------------------
++++++ cfitsio.spec ++++++
--- /var/tmp/diff_new_pack.UMuPdo/_old  2022-12-14 14:11:15.787574989 +0100
+++ /var/tmp/diff_new_pack.UMuPdo/_new  2022-12-14 14:11:15.787574989 +0100
@@ -16,9 +16,9 @@
 #
 
 
-%define so_ver 9
+%define so_ver 10
 Name:           cfitsio
-Version:        4.1.0
+Version:        4.2.0
 Release:        0
 Summary:        Library for manipulating FITS data files
 License:        ISC
@@ -28,6 +28,7 @@
 BuildRequires:  libcurl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(bzip2)
 
 %description
 CFITSIO is a library of C and Fortran subroutines for reading and writing data
@@ -42,10 +43,8 @@
 %package devel
 Summary:        Headers required when building programs against cfitsio library
 Requires:       libcfitsio%{so_ver} = %{version}
-Requires:       pkgconfig
 Suggests:       cfitsio-devel-doc = %{version}
 # libcfitsio-devel was last used in openSUSE 13.1 (version 3.350)
-Provides:       libcfitsio-devel = %{version}
 Obsoletes:      libcfitsio-devel <= 3.350
 
 %description devel
@@ -76,18 +75,23 @@
 
 %prep
 %setup -q
+# Disable build of static library
+sed -i -e 's/\(.*:.*\)lib${PACKAGE}.a/\1/' Makefile.in
 
 %build
-# lines bellow contain fixes for pkgconfig file bnc#546004, some of them are 
already fixed by upstream
-# so please drop them if they are not needed (in next round of updates)
-# Add include dir, multithreading support, zlib dependency
-sed -i 's|Cflags: -I${includedir}|Cflags: -D_REENTRANT -I${includedir} 
-I${includedir}/%{name}|' cfitsio.pc.in
-sed -i 's|Libs.private: -lm @LIBS@|Libs.private: -lz -lm @LIBS@|' cfitsio.pc.in
+%configure \
+  --enable-reentrant \
+  --with-bzip2 \
+%ifarch x86_64
+  --enable-sse2 \
+%endif
+  %{nil}
 
-%configure --enable-reentrant
 %make_build shared
-%make_build fpack
-%make_build funpack
+%make_build fpack funpack fitscopy
+
+%install
+%make_install CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name}
 
 %check
 # testsuite
@@ -96,18 +100,13 @@
 diff testprog.lis testprog.out
 cmp testprog.fit testprog.std ; echo $?
 
-%install
-make DESTDIR=%{buildroot} CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} 
install
-
-# Remove static libraries
-rm -f %{buildroot}%{_libdir}/libcfitsio.a
-
 %post -n libcfitsio%{so_ver} -p /sbin/ldconfig
 %postun -n libcfitsio%{so_ver} -p /sbin/ldconfig
 
 %files
 %doc README docs/{changes.txt,fpackguide.pdf}
 %license License.txt
+%{_bindir}/fitscopy
 %{_bindir}/fpack
 %{_bindir}/funpack
 

++++++ cfitsio-4.1.0.tar.gz -> cfitsio-4.2.0.tar.gz ++++++
++++ 31990 lines of diff (skipped)

Reply via email to