[packages/netcdf-fortran] - updated to 4.6.1
qboosh
qboosh at pld-linux.org
Tue Dec 17 21:20:26 CET 2024
commit 033d1cba8870bb97f140dafc4a0091a69f5eb74c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 17 21:10:52 2024 +0100
- updated to 4.6.1
netcdf-fortran-f90.patch | 9 +++++----
netcdf-fortran.spec | 20 +++++++-------------
2 files changed, 12 insertions(+), 17 deletions(-)
---
diff --git a/netcdf-fortran.spec b/netcdf-fortran.spec
index 26cdcb7..7a26df7 100644
--- a/netcdf-fortran.spec
+++ b/netcdf-fortran.spec
@@ -7,12 +7,12 @@
Summary: NetCDF Fortran library
Summary(pl.UTF-8): Biblioteka NetCDF dla języka Fortran
Name: netcdf-fortran
-Version: 4.5.3
-Release: 3
+Version: 4.6.1
+Release: 1
License: BSD-like
Group: Libraries
-Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/%{name}-%{version}.tar.gz
-# Source0-md5: 10cfce1ed4f474af30dbbad076b085d2
+Source0: https://downloads.unidata.ucar.edu/netcdf-fortran/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: a34fa637abc362776b5165c6e5da324d
Patch0: %{name}-f90.patch
URL: https://www.unidata.ucar.edu/software/netcdf/
BuildRequires: autoconf >= 2.59
@@ -23,9 +23,9 @@ BuildRequires: gcc-fortran >= 6:4.4
BuildRequires: gcc-fortran >= 5:4.0
%endif
BuildRequires: libtool >= 2:2.2
-BuildRequires: netcdf-devel >= 4.7.4
+BuildRequires: netcdf-devel >= 4.9.0
BuildRequires: texinfo
-Requires: netcdf >= 4.7.4
+Requires: netcdf >= 4.9.0
Obsoletes: netcdf-f90 < 3.6.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,7 +59,7 @@ Requires: gcc-fortran >= 6:4.4
%else
Requires: gcc-fortran >= 5:4.0
%endif
-Requires: netcdf-devel >= 4.7.4
+Requires: netcdf-devel >= 4.9.0
Obsoletes: netcdf-f90-devel < 3.6.2
%description devel
@@ -90,15 +90,9 @@ Statyczna wersja biblioteki netCDF dla języka Fortran.
%{__aclocal} -I m4
%{__autoconf}
%{__automake}
-%define gfortran_version %(gfortran -dumpversion)
CPPFLAGS="%{rpmcppflags} -DgFortran=1"
%configure \
-%if "%{_ver_ge '%{gfortran_version}' '10.0'}" == "1"
- FCFLAGS="%{rpmcflags} -fallow-argument-mismatch" \
- FFLAGS="%{rpmcflags} -fallow-argument-mismatch" \
-%else
FCFLAGS="%{rpmcflags}" \
-%endif
%{!?with_f2003:--disable-f03} \
%{!?with_static_libs:--disable-static}
diff --git a/netcdf-fortran-f90.patch b/netcdf-fortran-f90.patch
index 5d51a86..df4a106 100644
--- a/netcdf-fortran-f90.patch
+++ b/netcdf-fortran-f90.patch
@@ -1,10 +1,11 @@
---- netcdf-fortran-4.2/fortran/netcdf_visibility.f90.orig 2011-09-27 16:17:02.000000000 +0200
-+++ netcdf-fortran-4.2/fortran/netcdf_visibility.f90 2012-03-20 16:03:11.006184197 +0100
-@@ -20,6 +20,6 @@
+--- netcdf-fortran-4.6.1/fortran/netcdf_visibility.F90.orig 2024-12-17 20:13:21.135889021 +0100
++++ netcdf-fortran-4.6.1/fortran/netcdf_visibility.F90 2024-12-17 20:13:23.915873960 +0100
+@@ -20,6 +20,7 @@
public :: nf90_put_att, nf90_get_att
! Variable routines
- public :: nf90_def_var, nf90_inq_varid, nf90_rename_var, nf90_inquire_variable
-+ public :: nf90_def_var, nf90_inq_varid, nf90_set_var_chunk_cache, nf90_rename_var, nf90_inquire_variable
++ public :: nf90_def_var, nf90_inq_varid, nf90_rename_var, nf90_inquire_variable, &
++ nf90_set_var_chunk_cache
! overloaded functions
public :: nf90_put_var, nf90_get_var
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netcdf-fortran.git/commitdiff/033d1cba8870bb97f140dafc4a0091a69f5eb74c
More information about the pld-cvs-commit
mailing list