public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/eccodes] rawhide: update to v2.50.0 and remove old grib_api obsolete logic
@ 2026-10-15 12:15 Jos de Kloe
0 siblings, 0 replies; only message in thread
From: Jos de Kloe @ 2026-10-15 12:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/eccodes
Branch : rawhide
Commit : 8418e955aa771317c7e7f2dc50be8f4660e17121
Author : Jos de Kloe <josdekloe@gmail.com>
Date : 2026-10-15T14:14:56+02:00
Stats : +36/-64 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/eccodes/c/8418e955aa771317c7e7f2dc50be8f4660e17121?branch=rawhide
Log:
update to v2.50.0 and remove old grib_api obsolete logic
---
diff --git a/.gitignore b/.gitignore
index 6c01ed7..b82cf49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,2 @@
-/eccodes_test_data_20250202.tar.gz
-/eccodes-2.46.0-Source.tar.gz
-/eccodes-2.47.0-Source.tar.gz
-/eccodes-2.48.0-Source.tar.gz
+/eccodes-2.50.0-Source.tar.gz
+/eccodes_test_data_20261015.tar.gz
diff --git a/eccodes-soversion.patch b/eccodes-soversion.patch
index c580033..7abf9fe 100644
--- a/eccodes-soversion.patch
+++ b/eccodes-soversion.patch
@@ -1,5 +1,5 @@
---- eccodes-2.48.0-Source.unchanged/fortran/CMakeLists.txt 2026-07-15 13:22:02.000000000 +0200
-+++ eccodes-2.48.0-Source/fortran/CMakeLists.txt 2026-07-20 13:54:42.355327707 +0200
+--- eccodes-2.50.0-Source.unchanged/fortran/CMakeLists.txt 2026-10-14 11:00:13.000000000 +0200
++++ eccodes-2.50.0-Source/fortran/CMakeLists.txt 2026-10-15 13:11:12.052741374 +0200
@@ -74,7 +74,8 @@ if( HAVE_FORTRAN )
GENERATED grib_f90.f90 eccodes_f90.f90
PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
@@ -10,9 +10,9 @@
add_custom_command( TARGET eccodes_f90 POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_Fortran_MODULE_DIRECTORY} ${CMAKE_BINARY_DIR}/include )
---- eccodes-2.48.0-Source.unchanged/src/eccodes/CMakeLists.txt 2026-07-15 13:22:02.000000000 +0200
-+++ eccodes-2.48.0-Source/src/eccodes/CMakeLists.txt 2026-07-20 13:54:42.355915512 +0200
-@@ -452,6 +452,8 @@ ecbuild_add_library(
+--- eccodes-2.50.0-Source.unchanged/src/eccodes/CMakeLists.txt 2026-10-14 11:00:13.000000000 +0200
++++ eccodes-2.50.0-Source/src/eccodes/CMakeLists.txt 2026-10-15 13:11:12.073796202 +0200
+@@ -471,6 +471,8 @@ ecbuild_add_library(
${CMATH_LIBRARIES}
${THREADS_LIBRARIES}
TEMPLATES ${eccodes_extra_src_files}
diff --git a/eccodes.rpmlintrc b/eccodes.rpmlintrc
new file mode 100644
index 0000000..a4a798c
--- /dev/null
+++ b/eccodes.rpmlintrc
@@ -0,0 +1,16 @@
+
+# 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 ")
+
+# Disable warnings on the bufr and grib file format names
+addFilter(" E: spelling-error .*bufr.*")
+addFilter(" E: spelling-error .*grib.*")
diff --git a/eccodes.spec b/eccodes.spec
index 9935096..f447226 100644
--- a/eccodes.spec
+++ b/eccodes.spec
@@ -3,7 +3,7 @@
%endif
Name: eccodes
-Version: 2.48.0
+Version: 2.50.0
Release: 1%{?dist}
Summary: WMO data format decoding and encoding
@@ -14,21 +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 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
-# what the final release of grib_api by upstream will be.
-# latest upstream grib_api release is 1.28.0 (05-Dec-2018)
-# as was written on https://confluence.ecmwf.int/display/GRIB/Home
-# (Note that this page is no longer available, 17-Oct-2020)
-%global final_grib_api_version 1.28.1-1%{?dist}
-
-%ifarch i686 ppc64 armv7hl
- %global obsolete_grib_api 0
-%else
- %global obsolete_grib_api 1
-%endif
+%global datapack_date 20261015
# license remarks:
# Most of eccodes is licensed ASL 2.0 (which is identical to the SPDX
@@ -69,12 +55,12 @@ BuildRequires: openjpeg2-devel >= 2.5.2
BuildRequires: libpng-devel
BuildRequires: netcdf-devel
BuildRequires: libaec-devel >= 1.1.4
-BuildRequires: libaec-static >= 1.1.4
+# BuildRequires: libaec-static >= 1.1.4 # not needed
# For tests
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Test::More)
-BuildRequires: perl(File::Compare)
+# BuildRequires: perl(File::Compare) # not needed
# For creation of man pages
BuildRequires: help2man
@@ -86,27 +72,6 @@ BuildRequires: help2man
# file format definitions.
Requires: %{name}-data = %{version}-%{release}
-# NOTE: upstream writes:
-# """
-# For GRIB encoding and decoding, the GRIB-API functionality is provided
-# fully in ecCodes with only minor interface and behaviour changes.
-# Interfaces for C, Fortran 90 and Python are all maintained as in GRIB-API.
-# However, the GRIB-API Fortran 77 interface is no longer available.
-# """
-# Therefore, since the library name and pkg-config file content changes
-# and fortran77 support was removed, this replacement package cannot be
-# considered compatible enough and no Provides can be defined.
-#
-# Furthermore, upstream writes:
-# "Please note that GRIB-API support is being discontinued at the end of 2018."
-# So the old grib_api will need to be obsoleted.
-
-%if 0%{obsolete_grib_api}
-# as stated in the note above, setting provides seems not correct here
-# Provides: grib_api = %%{final_grib_api_version}
-Obsoletes: grib_api < %{final_grib_api_version}
-%endif
-
# as explained in bugzilla #1562066
ExcludeArch: i686
@@ -127,19 +92,19 @@ a simple set of functions to access data from several formats with a key/value
approach.
For GRIB encoding and decoding, the GRIB-API functionality is provided fully
-in ecCodes with only minor interface and behaviour changes. Interfaces for C,
+in ecCodes with only minor interface and behavior changes. Interfaces for C,
and Fortran 90 are all maintained as in GRIB-API. However, the
GRIB-API Fortran 77 interface is no longer available.
In addition, a new set of functions with the prefix "codes_" is provided to
operate on all the supported message formats. These functions have the same
-interface and behaviour as the "grib_" functions.
+interface and behavior as the "grib_" functions.
A selection of GRIB-API tools has been included in ecCodes (ecCodes GRIB
tools), while new tools are available for the BUFR (ecCodes BUFR tools) and
GTS formats. The new tools have been developed to be as similar as possible
to the existing GRIB-API tools maintaining, where possible, the same options
-and behaviour. A significant difference compared with GRIB-API tools is that
+and behavior. A significant difference compared with GRIB-API tools is that
bufr_dump produces output in JSON format suitable for many web based
applications.
@@ -150,11 +115,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gcc-gfortran%{?_isa}
Requires: jasper-devel%{?_isa}
-%if 0%{obsolete_grib_api}
-# Provides: grib_api-devel = %%{final_grib_api_version}
-Obsoletes: grib_api-devel < %{final_grib_api_version}
-%endif
-
%description devel
Header files and libraries for ecCodes.
@@ -249,9 +209,6 @@ end
Summary: Documentation and example code
BuildArch: noarch
-# a sub package grib_api-doc did not exist
-# so no obsoletes needed here
-
%description doc
This package contains the html documentation for ecCodes
and a fair number of example programs and scripts to use it
@@ -305,7 +262,7 @@ export CMAKE_POLICY_VERSION_MINIMUM=3.5
# added -DCMAKE_Fortran_FLAGS="-fPIC"
# because the koji build crashes with the error that it needs this setting
# when I try to build for armv7hl (other archs do not complain ......)
-# I have no idea what causes this difference in behaviour.
+# I have no idea what causes this difference in behavior.
# Note: the option:
# -DENABLE_MEMFS=ON
@@ -485,6 +442,9 @@ export LIBRARY_PATH=%{buildroot}/%{_libdir}
%doc %{_datadir}/doc/%{name}/
%changelog
+* Thu Oct 15 2026 Jos de Kloe <josdekloe@gmail.com> - 2.50.0-1
+- Update to 2.50.0
+- Remove old grib_api obsoletes logic
* Mon Jul 20 2026 Jos de Kloe <josdekloe@gmail.com> - 2.48.0-1
- Update to 2.48.0
diff --git a/sources b/sources
index c25215d..3941b14 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,2 @@
-SHA512 (eccodes_test_data_20250202.tar.gz) = 8b4c7159dd7ed0e1e69068ec7dcabe94064f0d2abf9eac4fca2a9c730d500999e8edf1e7eeebba6fb12ae99b223c1b0843e31414538333c52f2508cb2d410151
-SHA512 (eccodes-2.46.0-Source.tar.gz) = 732ab0f23f3b56681fc103c8f8bb49ae46b06d4278c8cf0cddd99731b4bc2101910e161a3fd1b6bffeaa968d72c2e2de8ab0a9c33c23025e554302fb084d167a
-SHA512 (eccodes-2.47.0-Source.tar.gz) = 4cb0491c327d2832dc3e4b14a67a90e4d6b459c2baa132a6a37c5e7d4886eb3ea0e83dcbc95aa9487c207c685dc4ed338b743be60345a581725d2cba80e11ae8
-SHA512 (eccodes-2.48.0-Source.tar.gz) = 9e1b7c456ed65a06415038b2181543ce89ad9aa606380653d635b4304f5ef0ec243742702b441b265e927b98242bbc342ebd55e2426627dc1a40ab45e5ce3674
+SHA512 (eccodes-2.50.0-Source.tar.gz) = 450b09c0c3bdbab658a4ea0eb596b7b33ef0119c0ca05d48f0f787d6f98eb58445038a7d5ec203ec69de0726cf48fd9a6f57ed815b748f3173fc5929d52bd9ba
+SHA512 (eccodes_test_data_20261015.tar.gz) = f03a1455e547bc14121066c4bd8b21d2617de22ad2f7956792b7ec58a5cab6008fd8a2e0772b3e0c5d6c0d4156adf268074ead66a6d44c380c13e064a29ed9ed
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-15 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 12:15 [rpms/eccodes] rawhide: update to v2.50.0 and remove old grib_api obsolete logic Jos de Kloe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox