commit c86f28e0687e418a60db2aa71bb41ac3b41604dc
Author: Jakub Bogusz <[email protected]>
Date:   Thu Nov 12 22:19:18 2020 +0100

    - fix _ver_ge usage to work with rpm5

 hdf.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/hdf.spec b/hdf.spec
index f6b8744..e60c202 100644
--- a/hdf.spec
+++ b/hdf.spec
@@ -159,9 +159,10 @@ Dokumentacja javadoc do interfejsu HDF do Javy (JHI).
 %else
 %define        gfortran        %{_target_cpu}-pld-linux-gfortran
 %endif
+%define        gfortran_version        %(%{gfortran} -dumpversion)
 %configure \
        F77="%{gfortran}" \
-%if "%{_ver_ge '%(%{gfortran} -dumpversion)' '10.0'}" == "1"
+%if "%{_ver_ge '%{gfortran_version}' '10.0'}" == "1"
        FFLAGS="%{rpmcflags} -fallow-argument-mismatch" \
 %endif
        %{?with_java:--enable-java} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hdf.git/commitdiff/c86f28e0687e418a60db2aa71bb41ac3b41604dc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to