Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa21920e74 | ||
|
|
923db45728 | ||
|
|
0f12ed4a6d | ||
|
|
e1384e9b9d | ||
|
|
ab005aef82 | ||
|
|
7487a9590c |
4 changed files with 12 additions and 149 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,4 +1,3 @@
|
|||
/eccodes-2.39.0-Source.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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
--- 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
|
||||
--- eccodes-2.40.0-Source.unchanged/fortran/CMakeLists.txt 2025-02-12 12:04:32.000000000 +0100
|
||||
+++ eccodes-2.40.0-Source/fortran/CMakeLists.txt 2025-03-22 15:51:07.009527983 +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.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
|
||||
--- eccodes-2.40.0-Source.unchanged/src/CMakeLists.txt 2025-02-12 12:04:32.000000000 +0100
|
||||
+++ eccodes-2.40.0-Source/src/CMakeLists.txt 2025-03-22 15:51:07.009903805 +0100
|
||||
@@ -443,6 +443,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
|
||||
|
|
|
|||
143
eccodes.spec
143
eccodes.spec
|
|
@ -3,8 +3,8 @@
|
|||
%endif
|
||||
|
||||
Name: eccodes
|
||||
Version: 2.44.0
|
||||
Release: 2%{?dist}
|
||||
Version: 2.40.0
|
||||
Release: 1%{?dist}
|
||||
Summary: WMO data format decoding and encoding
|
||||
|
||||
# force the shared libraries to have these so versions
|
||||
|
|
@ -60,7 +60,7 @@ Patch1: eccodes-soversion.patch
|
|||
# https://jira.ecmwf.int/browse/SUP-2073
|
||||
# (and again, unfortunately this issue is not public)
|
||||
|
||||
BuildRequires: cmake3 >= 3.18
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-gfortran
|
||||
BuildRequires: /usr/bin/git
|
||||
|
|
@ -169,74 +169,6 @@ 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
|
||||
|
|
@ -260,8 +192,6 @@ 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:
|
||||
#
|
||||
|
|
@ -381,8 +311,6 @@ sed -i 's|^libs=.*$|libs=-L${libdir} -leccodes_f90 -leccodes|g' %{buildroot}/%{_
|
|||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
#####################################################
|
||||
%check
|
||||
cd %{_vpath_builddir}
|
||||
|
||||
|
|
@ -403,7 +331,7 @@ ctest3 -V %{?_smp_mflags}
|
|||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc ChangeLog AUTHORS NEWS NOTICE
|
||||
%doc README.md ChangeLog AUTHORS NEWS NOTICE
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man1/*.1*
|
||||
|
|
@ -423,74 +351,11 @@ 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
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
|||
3
sources
3
sources
|
|
@ -1,4 +1,3 @@
|
|||
SHA512 (eccodes-2.39.0-Source.tar.gz) = 7ee419cb0c2afde2b2db7159607f5d7e1c7b06545f50d7553d8aecb3d8c6d9130a9312294a5c3c3bb060c8fd59cdced531636925ec2a8b48137014a9812b1e63
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue