Compare commits

..

142 commits

Author SHA1 Message Date
Cristian Le
4125782647 Allow to build with CMake 4.0 (rhbz#2380563) 2025-11-12 18:17:26 +01:00
Jos de Kloe
d72a2e3bb0 update to v2.44.0 2025-11-07 11:50:22 +01:00
Orion Poplawski
47a1f21238 Rebuild for netcdf 4.9.3 soname bump 2025-08-22 08:38:32 -06:00
Jos de Kloe
9b5ba78969 ensure changelog dates are in chronological order again 2025-08-11 15:36:45 +02:00
Jos de Kloe
ac7dca3ac4 fix wrong changelog date and fix a bug in the ghost definitions 2025-08-11 14:24:13 +02:00
Jos de Kloe
2c0f7d9a93 next try to use a LUA scriptlet in case directories are replaced by symbolic links by upstream 2025-08-11 14:09:32 +02:00
Jos de Kloe
be0e64d22b bump release to 3 2025-07-30 12:40:04 +02:00
Jos de Kloe
19c6a19751 fix upgrade problem 2025-07-30 12:37:27 +02:00
Fedora Release Engineering
2421d9263b Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 19:41:33 +00:00
Jos de Kloe
7a579d5a5e update to new upstream version 2.42.0 2025-07-19 17:07:05 +02:00
Orion Poplawski
61a8f9e8f4 Drop old source from sources 2025-05-29 15:31:06 -06:00
Jos de Kloe
9cda33605d update to v2.40.0 2025-03-22 16:17:51 +01:00
Jos de Kloe
5072d281d3 update to new upstream version 2.39.0 2025-02-02 15:46:40 +01:00
Fedora Release Engineering
b5f395df6c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 16:35:41 +00:00
Jos de Kloe
f4af10c5e2 try again, now with new sources 2024-10-20 15:23:41 +02:00
Jos de Kloe
7b97f0e05e update to upstream version 2.38.3 2024-10-20 15:17:08 +02:00
Jos de Kloe
6d99f551f9 update to upstream version 2.38.0 2024-09-29 16:34:16 +02:00
Jos de Kloe
9b4ce377a8 update to version 2.36.0 2024-07-24 08:23:50 +02:00
Fedora Release Engineering
4274a9c135 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 21:41:05 +00:00
Jos de Kloe
731cd8d67c update to upstream version 2.35.0 2024-05-04 16:43:50 +02:00
Jos de Kloe
3fec8b43b7 new test data package 2024-02-29 08:33:05 +01:00
Jos de Kloe
6b38306b8a now add the new sources as well 2024-02-28 08:19:48 +01:00
Jos de Kloe
7f14f9a166 update to v2.34.1 2024-02-27 09:10:19 +01:00
Fedora Release Engineering
c076718b36 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 10:05:58 +00:00
Fedora Release Engineering
881aa24c91 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 17:49:19 +00:00
Orion Poplawski
c31f1653f7 Update to 2.33.0 2023-12-16 20:41:54 -07:00
Jos de Kloe
fa6f919939 remove outdated rpmlintrc file 2023-11-26 11:56:33 +01:00
Jos de Kloe
898051186f fix typo in change log 2023-11-26 11:54:46 +01:00
Jos de Kloe
ec997229b9 rebuild after so name jump of libjasper 2023-11-26 11:36:57 +01:00
Jos de Kloe
e8986e121e Upgrade to upstream version 2.32.1 and add updated test_data package 2023-11-02 08:54:41 +01:00
Jos de Kloe
1b7a8f02c9 new source code version 2023-07-27 17:22:01 +02:00
Jos de Kloe
921dbf79c3 update to upstream version 2.31.0 2023-07-27 17:20:21 +02:00
Fedora Release Engineering
0f7b84f661 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 18:11:12 +00:00
Jos de Kloe
49e4125601 update to upstream version 2.30.0 2023-04-16 20:02:50 +02:00
Jos de Kloe
f36befe7e1 new upstream version 2.29.0 2023-03-26 13:46:53 +02:00
Jos de Kloe
5d93d468ed update to new upstream version 2.28.0 2023-02-12 14:31:37 +01:00
Fedora Release Engineering
0573e80521 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 02:03:49 +00:00
Jos de Kloe
f6edb54b95 Upgrade to upstream version 2.27.1 and SPDX migration 2022-12-10 14:18:44 +01:00
Jos de Kloe
986b16e6ee Upgrade to upstream version 2.27.0 and add generation of man pages for tools that support the --help option 2022-08-29 14:16:53 +02:00
Fedora Release Engineering
9002d2d5b9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 01:34:52 +00:00
Jos de Kloe
bc33423cd0 add new source code, new datapack, and remove some old patch files 2022-05-26 15:05:03 +02:00
Jos de Kloe
2378143ac9 update to new version 2.26.0 2022-05-26 15:00:04 +02:00
Sandro Mani
6a1c7f8e69 Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0 2022-05-21 00:10:53 +02:00
Jos de Kloe
277f115877 add new sources 2022-03-06 17:20:32 +01:00
Jos de Kloe
285b274271 Upgrade to upstream version 2.25.0; Add new BR libaec-devel 2022-03-06 17:17:56 +01:00
Mamoru TASAKA
a086e5e7b2 jasper3: use wrapper entry point for jpeg2000 decoder 2022-02-15 00:10:55 +09:00
Josef Řídký
c6b0799102 Rebuilt for libjasper.so.6 2022-02-13 13:45:43 +01:00
Fedora Release Engineering
4a460677ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 01:35:29 +00:00
Jos de Kloe
9abde243ee Upgrade to upstream version 2.24.0 2021-12-09 10:42:26 +01:00
Mamoru TASAKA
aa2a12089c Patch grib_api_internal.h for big endian test suite issue (upstream bug SUP-2410) 2021-12-01 21:04:23 +09:00
Jos de Kloe
a0b1b4222e remove non-utf8 character from change log 2021-09-02 11:51:59 +02:00
Jos de Kloe
65f97a669b update to version 2.23.0 2021-09-02 11:37:22 +02:00
Orion Poplawski
0c8a1e15e5 Rebuild for netcdf 4.8.0 2021-08-10 18:29:29 -06:00
Orion Poplawski
b817b9e0c5 Rebuild for netcdf 4.8.0 2021-08-09 20:23:11 -06:00
Fedora Release Engineering
3092298b90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 21:36:20 +00:00
Jos de Kloe
292438487e Upgrade to upstream version 2.22.1 2021-06-19 16:46:09 +02:00
Jos de Kloe
f5111bde08 Upgrade to upstream version 2.22.0 2021-05-24 21:18:12 +02:00
Jos de Kloe
7d6f5332bc the 3 problematic arches are still failing. Activcate excludearch switches again. 2021-03-28 13:23:32 +02:00
Jos de Kloe
c3595f3ffd disable excludearch statements to check what the current status is. 2021-03-28 13:08:19 +02:00
Jos de Kloe
aa231a33be new upstream version 2021-03-28 13:06:32 +02:00
Orion Poplawski
cd4e74ca87 Cleanup sources 2021-01-30 09:41:44 -07:00
Fedora Release Engineering
02475f35d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 04:14:43 +00:00
Jos de Kloe
a7454734af Upgrade to upstream version 2.20.0 2021-01-23 19:40:01 +01:00
Jos de Kloe
486346bf6e Upgrade to upstream version 2.19.1 2020-11-13 17:12:29 +01:00
Jos de Kloe
31b4a19ff7 remove 2 files that I added by mistake (that's what you get if upstream decides to rename the python module to have exactly the same name as the c library itself). 2020-10-18 20:13:18 +02:00
Jos de Kloe
8b7d65f555 add patch to fix test run for eccodes 2.19.0 2020-10-18 20:04:43 +02:00
Jos de Kloe
ab3d8aface activate ExcludeArch: armv7hl again (still test failures) and add a note on the grib_api webpage at ECMWF that is no longer available. 2020-10-17 12:06:58 +02:00
Jos de Kloe
d7452732f0 disable i686 and s390x again (still fail test suite). Also add -fPIC which seems required to get the library compiled on armv7hl. 2020-10-17 11:37:19 +02:00
Jos de Kloe
4ef87b9983 Upgrade to upstream version 2.19.0 and remove patch 1; also remove ExcludeArch switches 2020-10-16 18:23:12 +02:00
Jos de Kloe
cf1c4f5ff4 Adapt the spec file to use the new style cmake macros 2020-08-05 10:26:31 +02:00
Fedora Release Engineering
7121cf8098 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:43:13 +00:00
Fedora Release Engineering
9c6cc6a2d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 16:13:58 +00:00
Jos de Kloe
fae474025c Rebuild after fixing mistake in ExcludeArch statements 2020-06-27 11:34:55 +02:00
Jos de Kloe
92c9bdc89b now really add the ExcludeArch statements again 2020-06-27 11:30:22 +02:00
Jos de Kloe
b7625413a2 disable the 3 faling archs again. 2020-06-27 11:24:08 +02:00
Jos de Kloe
2d05f510e8 update to new upstream version and remove ExcludeArch switches to see if compatibility is improved (or not). 2020-06-27 10:43:20 +02:00
Jos de Kloe
5d6e9d7c6a upload new upstream sources and data to prepare for next update 2020-06-27 10:40:58 +02:00
Jos de Kloe
a3e2578cc2 enable the 3 ExcludeArch statements again, since the test problems remain. If anyone is interested in having this package for these Arches please file a bug report upstream (currently they dont think this compatibility needs to get higher priority). 2020-03-15 13:43:55 +01:00
Jos de Kloe
31c35a28f0 disable the 3 ExcludeArch statements to check the current compatibility status 2020-03-15 13:29:04 +01:00
Jos de Kloe
4c993dfdbe upgrade to new upstream version 2020-03-15 13:27:46 +01:00
Jos de Kloe
f2d8f69b5a update to upstream version 2.16.0 2020-02-08 17:37:51 +01:00
Fedora Release Engineering
92ffc13807 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 16:52:19 +00:00
Jos de Kloe
0be7189ca8 disable the 3 failing architectures again (I have no time to debug these issues and upstream says the same) 2019-12-15 21:18:08 +01:00
Jos de Kloe
41f33f1c17 add new sources 2019-12-15 21:04:01 +01:00
Jos de Kloe
81fa090637 update to upstream version 2.15.0 and disable ExcludeArch statements as test 2019-12-15 20:59:00 +01:00
Jos de Kloe
78995fe03f enable excludearch statements again, and remove Provides for grib_api 2019-10-27 13:37:33 +01:00
Jos de Kloe
1b5923d046 update to new upstream version, and disable architecture exceptions for testing 2019-10-27 13:05:28 +01:00
Jos de Kloe
549447a985 fix sed commands to remove rpath from pc files as suggested by Emanuele Di Giacomo 2019-08-10 20:19:37 +02:00
Emanuele Di Giacomo
95d2f61804 Use single quote 2019-08-09 14:33:05 +02:00
Emanuele Di Giacomo
5107926f9a Fix libs variable in .pc files (bugzilla 1739368) 2019-08-09 14:29:13 +02:00
Jos de Kloe
9c825e7768 remove manual tests and activate ExcludeArch statements again. Build failures for the 3 problematic architectures and their logging output have again been reported upstream. 2019-07-27 17:50:30 +02:00
Jos de Kloe
d0f4b6b6e8 add failing tests now to ctest run for i686 and armv7hl 2019-07-27 17:09:04 +02:00
Jos de Kloe
abed061460 added -VV option to ctest 2019-07-27 14:49:56 +02:00
Jos de Kloe
3cdc185e1b manually run the 2 failing tests for s390x in debug mode 2019-07-27 14:35:33 +02:00
Jos de Kloe
1f6d2391b1 same fix is needed for armv7hl as well. 2019-07-25 23:51:11 +02:00
Jos de Kloe
14cb429b58 exclude i686 from relocating pkgconfig files 2019-07-25 23:10:24 +02:00
Jos de Kloe
cf73af9f25 update to new upstream version 2019-07-25 21:48:56 +02:00
Fedora Release Engineering
88c16b9609 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 22:57:43 +00:00
Jos de Kloe
9e2c1766c0 Upgrade to upstream version 2.12.5 2019-05-09 20:58:11 +02:00
Orion Poplawski
968171903b Rebuild for netcdf 4.6.3 2019-03-17 20:29:06 -06:00
Jos de Kloe
a11af18778 bump final_grib_api_version global variable to 1.27.1 2019-02-21 09:00:35 +01:00
Jos de Kloe
714bef2c69 reactivate the ExcludeArch for the 3 failing architectures and add a little text in the README.md file 2019-02-17 20:57:21 +01:00
Jos de Kloe
704887a134 upgrade to version 2.12.0 2019-02-17 20:36:47 +01:00
Fedora Release Engineering
6960b9776d - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 18:09:43 +00:00
Jos de Kloe
2d44599987 add the ExcludeArch statements again, they are still needed 2018-11-24 17:42:49 +01:00
Jos de Kloe
67628b1983 update to new upstream version, and remove ExcludeArch statements for testing 2018-11-24 17:20:39 +01:00
Jos de Kloe
8a814362ca new sources for release 2.9.2 2018-11-24 17:15:59 +01:00
Jos de Kloe
59ad77e599 enable ExcludeArch again 2018-10-10 21:23:25 +02:00
Jos de Kloe
ea19539846 disable ExcludeArch for fedora testing 2018-10-10 20:16:16 +02:00
Jos de Kloe
a5ffadf6c3 update to new upstream version 2018-10-10 20:15:18 +02:00
Jos de Kloe
5cb37b9fd3 upload new sources 2018-10-10 20:13:56 +02:00
Jos de Kloe
43bec0d8e7 remove one layer of it-then 2018-09-15 17:02:21 +02:00
Jos de Kloe
5784bcd6ba add Excludearch for aarch64 on epel7 2018-09-15 16:15:35 +02:00
Jos de Kloe
5c68a9b619 add ExcludeArch: aarch64 since the build fails for that one 2018-09-15 16:12:18 +02:00
Jos de Kloe
2c01a295cd ensure the build runs on EPEL-7 as well 2018-09-15 15:18:41 +02:00
Jos de Kloe
8f44920b9d Remove python2 sub-package as per Mass Python 2 Package Removal for f30 2018-09-13 11:20:05 +02:00
Jos de Kloe
797fa5158c activate the 3 remaining ExcludeArch commands again 2018-09-09 13:17:30 +02:00
Jos de Kloe
91dca9f2cf re-add SHA512 for eccodes_test_data.tar.gz (again ...) 2018-09-09 12:30:56 +02:00
Jos de Kloe
76b0b8d3f8 update to new upstream version 2.8.2 and disable ExcludeArch to test what happens in a scratch build 2018-09-09 12:21:41 +02:00
Jos de Kloe
44ae809acd add new upstream version 2018-09-09 12:19:33 +02:00
Jos de Kloe
feee39cc4e add changelog entry for patch to put sample files in correct location, as submitted by Matthew Krupcale for f28 2018-08-17 15:59:10 +02:00
Jos de Kloe
857519dbc8 Merge branch 'f28' 2018-08-17 15:54:45 +02:00
Matthew Krupcale
bae9ce7f42 Keep samples in default upstream location
There are several reasons to prefer keeping the upstream default location for the samples files:
 * Consistency with upstream
 * The current location, /usr/share/doc/eccodes/, places the samples (which are binary files) into the -doc subpackage
   - The -doc subpackage is not Required by the eccodes package, so the sample files which are required by e.g. `src/grib_handle.c:grib_external_template_path`, will fail to load by default and cause an ECCODES error
   - Even if the user manually installs the -doc subpackage, because the build was not configured with this alternative path using `-DECCODES_SAMPLES_PATH`, the user will also have to set the environment variable `ECCODES_SAMPLES_PATH` to this alternative path. See `/usr/bin/codes_info` for the configured paths.

Note that this issue does not show up in the testing of eccodes itself because the test sets `ECCODES_SAMPLES_PATH` to the build directory samples directory (see `tests/include.ctest.sh.in`).
2018-08-14 13:55:16 -04:00
Fedora Release Engineering
6377a15128 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 23:30:56 +00:00
Jos de Kloe
6fa3919fb3 add excludearch statements again and a todo on the datapack 2018-07-05 15:48:04 +02:00
Jos de Kloe
8164a378ba Upgrade to version 2.8.0 (and disable excludearch switches for testing) 2018-07-05 14:14:39 +02:00
Jos de Kloe
9b16b23603 reactivate the excludearch lines 2018-05-09 13:07:10 +02:00
Jos de Kloe
d241e7e090 reinsert the data package in the sources list 2018-05-09 12:04:28 +02:00
Jos de Kloe
75a9b2b9f9 add tar file for updated version 2.7.3 2018-05-09 11:39:41 +02:00
Jos de Kloe
9cab2c2bc3 upgrade to version 2.7.3 2018-05-09 11:35:07 +02:00
Jos de Kloe
56ad6fdf07 add rpmlintrc and disable manual test runs 2018-04-23 09:36:05 +02:00
Jos de Kloe
c1a58927ef now run the second failing ppc test case 2018-04-19 17:11:34 +02:00
Jos de Kloe
2c7cee4496 correct stupid library path mistake 2018-04-19 16:53:57 +02:00
Jos de Kloe
8f492aa41e disable the full test suite, since otherwise the individual tests are not executed 2018-04-19 16:40:19 +02:00
Jos de Kloe
c7b500b2a0 add echo statements behind the failing tests to let the code continue 2018-04-19 16:22:37 +02:00
Jos de Kloe
33d19907f1 undo the ppc64 exclude 2018-04-19 16:01:20 +02:00
Jos de Kloe
9c52eec8a7 add running some problematic tests in verbose mode 2018-04-19 15:51:14 +02:00
Jos de Kloe
ebe8fef465 added ExcludeArch to suppress failing builds on some architectures 2018-03-29 16:16:01 +02:00
Jos de Kloe
82da9bccd7 add source tar file again, since it seemed lost when committing the test data tar file. 2018-03-22 11:55:12 +01:00
Jos de Kloe
7f9a70b452 import test data tar file 2018-03-22 11:29:01 +01:00
Jos de Kloe
58f6bde3c3 add source tar file 2018-03-22 11:05:28 +01:00
Jos de Kloe
d760bc3142 import spec file and patches 2018-03-22 10:56:46 +01:00
7 changed files with 190 additions and 112 deletions

12
.gitignore vendored
View file

@ -1,8 +1,4 @@
/eccodes-2.26.0-Source.tar.gz
/eccodes_test_data_20220526.tar.gz
/eccodes-2.30.0-Source.tar.gz
/eccodes-2.31.0-Source.tar.gz
/eccodes-2.33.0-Source.tar.gz
/eccodes_test_data_20231216.tar.gz
/eccodes-2.36.0-Source.tar.gz
/eccodes_test_data_20240217.tar.gz
/eccodes_test_data_20250202.tar.gz
/eccodes-2.40.0-Source.tar.gz
/eccodes-2.42.0-Source.tar.gz
/eccodes-2.44.0-Source.tar.gz

View file

@ -12,18 +12,3 @@ messages in the following formats:
For further details see:
https://confluence.ecmwf.int/display/ECC/What+is+ecCodes
Note for end users:
epel policy is to keep software versions stable for a given epel version
unless there is a strong reason why an update is needed
(for example security issues or malfunction).
Since eccodes depends on a large collection of table definitions
that are included in the package, after some time these tables
(holding the WMO file format definitions for GRIB and BUFR files,
which are updated every 6 months) will become outdated, and new files
using these formats can not be used.
If this is a problem for you, please raise the issue in bugzilla.
Since this is a malfunction from user perspective this is a
reason to update the package.

View file

@ -1,5 +1,5 @@
--- eccodes-2.35.0-Source.unchanged/fortran/CMakeLists.txt 2024-04-11 12:13:21.000000000 +0200
+++ eccodes-2.35.0-Source/fortran/CMakeLists.txt 2024-05-04 16:18:42.732436699 +0200
--- eccodes-2.44.0-Source.unchanged/fortran/CMakeLists.txt 2025-10-06 11:49:11.000000000 +0200
+++ eccodes-2.44.0-Source/fortran/CMakeLists.txt 2025-11-07 11:33:03.765320420 +0100
@@ -46,7 +46,8 @@ if( HAVE_FORTRAN )
GENERATED grib_f90.f90 eccodes_f90.f90
PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
@ -10,13 +10,13 @@
if( DEFINED ecbuild_VERSION AND NOT ${ecbuild_VERSION} VERSION_LESS 3.1 )
# Installed module directory is not in the PUBLIC INCLUDES!
--- eccodes-2.35.0-Source.unchanged/src/CMakeLists.txt 2024-04-11 12:13:21.000000000 +0200
+++ eccodes-2.35.0-Source/src/CMakeLists.txt 2024-05-04 16:18:42.733436675 +0200
@@ -416,6 +416,8 @@ ecbuild_add_library( TARGET eccodes
--- eccodes-2.44.0-Source.unchanged/src/eccodes/CMakeLists.txt 2025-10-06 11:49:11.000000000 +0200
+++ eccodes-2.44.0-Source/src/eccodes/CMakeLists.txt 2025-11-07 11:33:03.784437554 +0100
@@ -447,6 +447,8 @@ ecbuild_add_library( TARGET eccodes
PRIVATE_LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${AEC_LIBRARIES} ${PNG_LIBRARIES}
PUBLIC_LIBS ${CMATH_LIBRARIES} ${THREADS_LIBRARIES}
TEMPLATES ${eccodes_extra_src_files}
+ SOVERSION ${ECCODES_SOVERSION}
+ SOVERSION ${ECCODES_SOVERSION}
+
INSTALL_HEADERS_LIST
grib_api.h

View file

@ -1,47 +0,0 @@
--- eccodes-2.36.0-Source.unchanged/src/accessor/grib_accessor_class_bufr_elements_table.cc 2024-06-24 12:52:58.000000000 +0200
+++ eccodes-2.36.0-Source/src/accessor/grib_accessor_class_bufr_elements_table.cc 2024-07-23 19:38:30.211681092 +0200
@@ -1,4 +1,3 @@
-
/*
* (C) Copyright 2005- ECMWF.
*
@@ -28,7 +27,7 @@ static void thread_init()
static int once = 0;
static omp_nest_lock_t mutex1;
-void thread_init()
+static void thread_init()
{
GRIB_OMP_CRITICAL(lock_grib_accessor_class_bufr_elements_table_c)
{
--- eccodes-2.36.0-Source.unchanged/src/accessor/grib_accessor_class_codetable.cc 2024-06-24 12:52:58.000000000 +0200
+++ eccodes-2.36.0-Source/src/accessor/grib_accessor_class_codetable.cc 2024-07-23 19:38:30.248680436 +0200
@@ -20,7 +20,7 @@ grib_accessor_class* grib_accessor_class
static pthread_once_t once = PTHREAD_ONCE_INIT;
static pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;
-void thread_init()
+static void thread_init()
{
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
@@ -32,7 +32,7 @@ void thread_init()
static int once = 0;
static omp_nest_lock_t mutex1;
-void thread_init()
+static void thread_init()
{
GRIB_OMP_CRITICAL(lock_grib_accessor_class_codetable_c)
{
--- eccodes-2.36.0-Source.unchanged/src/accessor/grib_accessor_class_smart_table.cc 2024-06-24 12:52:58.000000000 +0200
+++ eccodes-2.36.0-Source/src/accessor/grib_accessor_class_smart_table.cc 2024-07-23 19:38:30.248680436 +0200
@@ -30,7 +30,7 @@ static void thread_init()
static int once = 0;
static omp_nest_lock_t mutex;
-void thread_init()
+static void thread_init()
{
GRIB_OMP_CRITICAL(lock_grib_accessor_class_smart_table_c)
{

View file

@ -1,13 +0,0 @@
# Disable warning on duplicate files.
# This package uses a huge number (1990 cases at the time of wrinting)
# duplicates in the tables definitions, and patching this is totally
# out of scope for my limited time.
addFilter(r" W: files-duplicate ")
addFilter(r" E: files-duplicated-waste ")
# Disable warnings on missing man pages.
# The tools that have --help output have been fixed by using help2man.
# The remaining ones have no help output whatsoever and are not easy to fix.
addFilter(r" W: no-manual-page-for-binary ")

View file

@ -1,10 +1,10 @@
%if 0%{?el9}
%if 0%{?el8}
%undefine __cmake_in_source_build
%endif
Name: eccodes
Version: 2.36.0
Release: 1%{?dist}
Version: 2.44.0
Release: 2%{?dist}
Summary: WMO data format decoding and encoding
# force the shared libraries to have these so versions
@ -14,7 +14,7 @@ Summary: WMO data format decoding and encoding
# note that the test_data package provided on the ECMWF version
# is unversioned, so use the download date to discriminate
# between different versions.
%global datapack_date 20240217
%global datapack_date 20250202
# latest fedora-38/rawhide grib_api version is 1.27.0-18
# but this version number is to be updated as soon as we know
@ -56,26 +56,18 @@ Source2: eccodes_create_man_pages.sh
# https://jira.ecmwf.int/browse/SUP-1809
Patch1: eccodes-soversion.patch
# Add a patch to solve the multiple definition of thread_init()
# that was introduced in eccodes v2.36.0
# This patch was provided upstream on 22-Jul-2024, see this github commit:
# https://github.com/ecmwf/eccodes/commit/809fb997282dd97058862261b1a36647f919f3b2
Patch2: eccodes-thread-init-fix.patch
# note that the requests to make the other issues public are filed here:
# https://jira.ecmwf.int/browse/SUP-2073
# (and again, unfortunately this issue is not public)
BuildRequires: cmake3
BuildRequires: cmake3 >= 3.18
BuildRequires: gcc-c++
BuildRequires: gcc-gfortran
BuildRequires: /usr/bin/git
BuildRequires: jasper-devel
BuildRequires: libjpeg-devel
BuildRequires: openjpeg2-devel >= 2.5.2
BuildRequires: libpng-devel
BuildRequires: netcdf-devel
BuildRequires: openjpeg2-devel
BuildRequires: libaec-devel
# For tests
@ -177,6 +169,74 @@ both the official WMO tables and a number of often used
local definitions by ECMWF and other meteorological centers.
#####################################################
# include a LUA scriptlet as suggested on:
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/
# to assist in replacing a directory by a symlink
%pretrans -n eccodes-data -p <lua>
-- This should solve a problem where directories were replaced
-- by symbolic links when upgrading eccodes from 2.41.0 to 2.42.0
problematic_dirs = {
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/110",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/174",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/2",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/20",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/21",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/221",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/222",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/223",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/225",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/226",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/227",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/228",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/229",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/230",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/231",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/232",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/233",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/234",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/235",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/236",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/237",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/31",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/41",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/42",
"/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/64",
"/usr/share/eccodes/definitions/bufr/tables/0/wmo/10",
"/usr/share/eccodes/definitions/bufr/tables/0/wmo/11",
"/usr/share/eccodes/definitions/bufr/tables/0/wmo/12",
"/usr/share/eccodes/definitions/bufr/tables/0/wmo/7",
"/usr/share/eccodes/definitions/bufr/tables/0/wmo/8",
"/usr/share/eccodes/definitions/bufr/tables/0/wmo/9"}
for index, path in ipairs(problematic_dirs) do
print("handling path:" .. index .. ":" .. path)
st = posix.stat(path)
if st and st.type == "directory" then
status = os.rename(path, path .. ".rpmmoved")
if status then
print("renamed:" .. path .. " to " .. path .. ".rpmmoved")
end
if not status then
suffix = 0
while not status do
suffix = suffix + 1
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
if status then
print("renamed:" .. path .. ".rpmmoved to " .. path .. ".rpmmoved." .. suffix)
end
end
os.rename(path, path .. ".rpmmoved")
print("renamed:" .. path .. " to " .. path .. ".rpmmoved")
end
end
end
--#####################################################
%package doc
Summary: Documentation and example code
BuildArch: noarch
@ -200,6 +260,8 @@ tar xf %SOURCE1
popd
%build
# TODO: Please submit an issue to upstream (rhbz#2380563)
export CMAKE_POLICY_VERSION_MINIMUM=3.5
#-- The following features are disabled by default and not switched on:
#
@ -319,6 +381,8 @@ sed -i 's|^libs=.*$|libs=-L${libdir} -leccodes_f90 -leccodes|g' %{buildroot}/%{_
%ldconfig_scriptlets
#####################################################
%check
cd %{_vpath_builddir}
@ -339,7 +403,7 @@ ctest3 -V %{?_smp_mflags}
%files
%license LICENSE
%doc README.md ChangeLog AUTHORS NEWS NOTICE
%doc ChangeLog AUTHORS NEWS NOTICE
%{_bindir}/*
%{_libdir}/*.so.*
%{_mandir}/man1/*.1*
@ -359,14 +423,110 @@ ctest3 -V %{?_smp_mflags}
%{_datadir}/%{name}/definitions/
%{_datadir}/%{name}/samples/
%{_datadir}/%{name}/ifs_samples/
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/1.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/110.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/174.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/2.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/20.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/21.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/221.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/222.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/223.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/225.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/226.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/227.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/228.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/229.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/230.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/231.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/232.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/233.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/234.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/235.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/236.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/237.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/31.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/41.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/42.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/local/8/78/64.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/wmo/10.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/wmo/11.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/wmo/12.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/wmo/7.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/wmo/8.rpmmoved
%ghost %{_datadir}/%{name}/definitions/bufr/tables/0/wmo/9.rpmmoved
%files doc
%doc %{_datadir}/doc/%{name}/
%changelog
* Sun Sep 01 2024 Jos de Kloe <josdekloe@gmail.com> - 2.36.0-1
* Mon Nov 10 2025 Cristian Le <git@lecris.dev> - 2.44.0-2
- Allow to build with CMake 4.0 (rhbz#2380563)
* Fri Nov 07 2025 Jos de Kloe <josdekloe@gmail.com> - 2.44.0-1
- Update to 2.44.0
* Fri Aug 22 2025 Orion Poplawski <orion@nwra.com> - 2.42.0-6
- Rebuild for netcdf 4.9.3 soname bump
* Mon Aug 11 2025 Jos de Kloe <josdekloe@gmail.com> - 2.42.0-5
- Forgot to update the changelog date for the previous commit, so fixed this
with this update.
- Also fix a typo in the ghost definitions.
* Mon Aug 11 2025 Jos de Kloe <josdekloe@gmail.com> - 2.42.0-4
- Add a LUA script in a pretrans section to assist in replacing a directory
by a symlink (this removes the need for the python script added in
the previous commit)
* Wed Jul 30 2025 Jos de Kloe <josdekloe@gmail.com> - 2.42.0-3
- Add calling a little python script in the install stage to revert
the (upstream) replacing of directories by a symlinks
which causes upgrade problems with rpm for the data package.
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.42.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jul 19 2025 Jos de Kloe <josdekloe@gmail.com> - 2.42.0-1
- Update to 2.42.0 (2.41.0 was skipped due to an upstream build bug)
* Sat Mar 22 2025 Jos de Kloe <josdekloe@gmail.com> - 2.40.0-1
- Update to 2.40.0
* Sun Feb 02 2025 Jos de Kloe <josdekloe@gmail.com> - 2.39.0-1
- Update to 2.39.0
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.38.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Oct 20 2024 Jos de Kloe <josdekloe@gmail.com> - 2.38.3-1
- Update to 2.38.3
* Sun Sep 29 2024 Jos de Kloe <josdekloe@gmail.com> - 2.38.0-1
- Update to 2.38.0
* Wed Jul 24 2024 Jos de Kloe <josdekloe@gmail.com> - 2.36.0-1
- Update to 2.36.0
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.35.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat May 04 2024 Jos de Kloe <josdekloe@gmail.com> - 2.35.0-1
- Update to 2.35.0
* Mon Mar 04 2024 Jos de Kloe <josdekloe@gmail.com> - 2.34.1-2
- Require openjpeg2-devel >= 2.5.2 (needed to build for f40)
* Tue Feb 27 2024 Jos de Kloe <josdekloe@gmail.com> - 2.34.1-1
- Update to 2.34.1
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.33.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.33.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Dec 17 2023 Orion Poplawski <orion@nwra.com> - 2.33.0-1
- Update to 2.33.0

11
sources
View file

@ -1,7 +1,4 @@
SHA512 (eccodes_test_data_20220526.tar.gz) = 0457878caad6a3395daf60e27cfb72121526065b0cf4da144c7499b8d38bebae0952ddbd20ef0eb53fad77ada60160039340da01001f19fbb7fb1ccbb3d0547a
SHA512 (eccodes-2.30.0-Source.tar.gz) = 07b67cef67cefb32ad4581813ed8814f9394d27846c8bc41b78b1504d296f84547d1fb72ce4813f214fe09b9391449995dd53cf9ae7d27721e2b34353ee58b00
SHA512 (eccodes-2.31.0-Source.tar.gz) = f3fe70ad0a765ae6e9d23b1b0c6ac96ad81a8324b15b7ebbcc958ffa1a046079d4a9953d720a8c15ac421897059a74c96ea678254f59c88538e3dd4970da131c
SHA512 (eccodes-2.33.0-Source.tar.gz) = 4afc2a9e59da54093eb318a1447904faac7371df980a57ce21e04ef98d1d7e02f10ef363a497d29f086b1f17a86ba4e46bf14898cd227eae8bbe0297c62b4183
SHA512 (eccodes_test_data_20231216.tar.gz) = 86767a308841849c7ece006e9f6c68123dc07d8640b038e25529b91ab495d3f10ad5356e9100ef238de6756c67917be13a676f4ab0708fb381021c746e00183e
SHA512 (eccodes-2.36.0-Source.tar.gz) = c18df75593af6461dfa64d717ec5a6af9492bc5a851b87f13ca759343abfbf21ec6e3e5978654f95641e86429b9b105bceb9414f8d925275d2a1b305441905d0
SHA512 (eccodes_test_data_20240217.tar.gz) = c495a71f18ea01aa480b0920fbfce8d370574d412c95eb04823d0d4544fed0e2dba8e98d63e2be0a3c33a127840e7262d391373fab9304a773e9764457ade5a7
SHA512 (eccodes_test_data_20250202.tar.gz) = 8b4c7159dd7ed0e1e69068ec7dcabe94064f0d2abf9eac4fca2a9c730d500999e8edf1e7eeebba6fb12ae99b223c1b0843e31414538333c52f2508cb2d410151
SHA512 (eccodes-2.40.0-Source.tar.gz) = 39b09da398a864888f1b7da867adae63da9e512a865807c1dd0f4b76e242c46d6ec75f7db3a554c01c4fb60dd9677cd8b77bc03dac89931cbdf461c607b100c8
SHA512 (eccodes-2.42.0-Source.tar.gz) = 205246b250762ab6e7ac3050726ac5ce67ab689c8c393b153e7c084fb71edc40d64ee04e2fb32b3ad2a1426e65581126c0c8288e9088c27a7468f6b534f29b58
SHA512 (eccodes-2.44.0-Source.tar.gz) = 63f81db07103ab3c6c0497ca3d0bae5b8a0841ed83a2b88831ddce756489a84aa394af7673c1438e2ea7a55107970cf87b8222da31321ef70ecc55cc99a3ddf5