Dominique Leuenberger 2021-10-12 19:49:41 +00:00 committed by Git OBS Bridge
commit 2a795a4783
7 changed files with 52 additions and 50 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e2a7323329e1285698a5bac335efa06c559f845a7f43e82f0fe64d2f6637679
size 6013084

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEUrBEhNgGyQ3LUnJJceiZAS0XS2YFAmC0B2kACgkQceiZAS0X
S2YlUg//e2K09+VegRM/ntFiiOZDRs4SFeKv3dCTB5Hm6Q+MVs/R7H+w0l/kdtE8
c4aUv31PNwcLjLxR+rs56sFpH11TxvSUPMcY9yLL/OZSncUvFZdb1mi9QY+/LBUb
CaJhDl9BpRmgjoAutrI69kDQOddCI8mDraZMk2gC+MUno+3Il71ejW/g7/E/9xgd
a6HK+DkguNL4eJ7S0VlPw9+orJX09lgabE72P+B1DcF7ZEV6Yh2cCQeZrnnyOZvK
yrhT750QMN9GUxPbFt8JVR18XklY4mgGt1PmqULK/Un6efmLFOr1hVXNB3r71w1q
posacs/6uoVaiGt5NVk6CNbemGHMtTTW64wEcfk1upjCPFstILMEMsnw8/7EhvtX
KGEirwPB2vGrUo0FRCBJ9Ow95ejijxs+G4Y5bv1QazDroxTt0c5V9XuDZXs4lI5X
ExGaFTYNNQAAf3sBwxuPPx6o8mDAGHzwcN7KE1q7dpfpKb9gPqTJMPrSfS5u0vSX
DIjuThJRlnlpYvZbE75HvA05333YZgSfGn13jDM52NaiGtBdc1y5QyRCQzUD/9/7
4MFzdOfFLbxo0iEqHWrv3FrTNXjQhQ95fyu8ZOlBMSfr9kkdzIlwc3xS7hoo1KlI
ApocmL30wp+y9lZ6XObs5MV5fSmvQ4GxrxNmSVqHPDns4FSFF9g=
=UboA
-----END PGP SIGNATURE-----

3
gnuastro-0.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90c11d25bb05ad13710cb5f81179ed8173608a426fdffd8b2045862d5fdee22d
size 6089988

16
gnuastro-0.16.tar.gz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEUrBEhNgGyQ3LUnJJceiZAS0XS2YFAmFjTXEACgkQceiZAS0X
S2aaShAAvrhpXlUnW3WQZdMmpPZCysPFi3yy1OS8nG6PPIZNthNGGNK4Fr+jDa3h
YgXeXA9vsJnkQooDYH17+zbBirvItaebODXOxY36YD/GCH7qgdCRaLHxSgBPsw2a
m5a7KfgvQautontwVDBGYR3XTkwTxz6tpstVoVemLzqpKpktqkRof/U/s3t1NBmS
ogQoJLloV8zVFyO9lfzjnB4JqXs1smGWpjRidUdyBOO+QzLaljIUhh+KjVhERb4q
xAAwuYukz7sI3g5fQCr/ZPz7DjldnGmsbEMU/5Ws65Ys107hEHLrSHHJtRschHXH
IM1GtYIZ1V277Yv/ZlPZR3tjeh2b+a9cPc6Vs8siJDuKeVvVQ51WN6D4P5vV8RX9
P+WRXWYMHaCceQm3TxTCo0d4tJX0T4N8h+L5YUr+A7zowM68r7eT9g2WD8SdY06N
574uhdhymNbeMLp8od8oTS5PVT4O0Krk/N+mvq1U1ZNuS+rcnSr/5wnvpupuph/9
PvfTmyR+W1KWKaCHJvr76T7R2FuBGb8jUUAwT2ktu7muIqoM/Lh+itCvmHqF93MF
YbhqVgXCxeV/8xHTv5A3CvLj/8HTsB93SDpi4eiAuC9irSGBGURGSbiKRGELJSue
t78VoUZswWUIVyL+uyHuOpqGCqsA5yOXcl3wM/hLTUmtsbAEsfo=
=5IfV
-----END PGP SIGNATURE-----

View File

@ -1,26 +0,0 @@
diff --git a/lib/fits.c b/lib/fits.c
index ef559759..5fe11bd6 100644
--- a/lib/fits.c
+++ b/lib/fits.c
@@ -2138,8 +2138,19 @@ gal_fits_key_write_version_in_ptr(gal_fits_list_key_t **keylist, char *title,
/* Print 'Versions and date' title. */
gal_fits_key_write_title_in_ptr("Versions and date", fptr);
- /* Set the version of CFITSIO as a string. */
- sprintf(cfitsioversion, "%-.2f", CFITSIO_VERSION);
+ /* Set the version of CFITSIO as a string: before version 4.0.0 of
+ CFITSIO, there were only two numbers in the version (for example
+ '3.49' and '3.48'), but from the 4th major release, there are three
+ numbers in the version string. The third number corresponds to a new
+ 'CFITSIO_MICRO' macro. So if it doesn't exist, we'll just print two
+ numbers, otherwise, we'll print the three. */
+#ifdef CFITSIO_MICRO
+ sprintf(cfitsioversion, "%d.%d.%d", CFITSIO_MAJOR,
+ CFITSIO_MINOR, CFITSIO_MICRO);
+#else
+ sprintf(cfitsioversion, "%d.%d", CFITSIO_MAJOR,
+ CFITSIO_MINOR);
+#endif
/* Write all the information: */
fits_write_date(fptr, &status);

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Oct 11 19:58:13 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- GNU Astronomy Utilities 0.16 (library 14.0.0):
* documentation updates
* Arithmetic: New operands
+ box-around-ellipse: width and height of the box covering an ellipse
+ au-to-pc: Convert Astronomical Units (AUs) to Parsecs (PCs)
+ pc-to-au: Convert Parsecs (PCs) to Astronomical Units (AUs)
+ ly-to-pc: Convert Light-years (LYs) to Parsecs (PCs)
+ pc-to-ly: Convert Parsecs (PCs) to Light-years (LYs)
+ ly-to-au: Convert Light-years (LYs) to Astronomical Units (AUs)
+ au-to-ly: Convert Astronomical Units (AUs) to Light-years (LYs)
* CosmicCalculator: warn if the requested redshift is < 0.007
* MakeCatalog:
+ --areaerror: spatial resolution of image specified by user,
used in estimating the surface brightness error
+ --sberror: error in measuring the surface brightness
(mag/arcsec^2)
* MakeProfiles: New type of profile showing the azimuthal angle
(in degrees, along the elliptical circumference of fixed radius)
of each pixel.
* Match: add support for printing rows that could notbe matched
* Statistics: add --quantofmean: the quantile of the mean of the
input dataset
* --stdintimeout: default value changed from 0.1 seconds to 1.5s
* MakeProfiles: The default output suffix is now '_profiles.fits'
* many bug fixes
- drop gnuastro-cfitsio-version-format-change.patch
-------------------------------------------------------------------
Wed Aug 18 02:39:19 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -16,10 +16,10 @@
#
%define sover 13
%define sover 14
%bcond_with tests
Name: gnuastro
Version: 0.15
Version: 0.16
Release: 0
Summary: GNU Astronomy Utilities
License: GPL-3.0-or-later
@ -27,8 +27,6 @@ URL: https://www.gnu.org/software/gnuastro/
Source: https://ftp.gnu.org/pub/gnu/gnuastro/%{name}-%{version}.tar.gz
Source2: https://ftp.gnu.org/pub/gnu/gnuastro/%{name}-%{version}.tar.gz.sig
Source3: https://akhlaghi.org/public-pgp-key.txt#/%{name}.keyring
# PATCH-FIX-UPSTREAM gnuastro-cfitsio-version-format-change.patch badshah400@gmail.com -- accounts for 3 number version string for CFITSIO; patch taken from upstream commit
Patch0: gnuastro-cfitsio-version-format-change.patch
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cfitsio)
@ -83,7 +81,7 @@ BuildArch: noarch
Bash command line completion support for %{name}
%prep
%autosetup -p1
%setup -q
%build
%configure \