From 8c6af8d9c5482ae95c2912ba8553474e9e8e6435 Mon Sep 17 00:00:00 2001 From: Alexander Scheel Date: Wed, 16 Sep 2020 15:49:00 -0400 Subject: [PATCH 3/3] Fix %{java_version} -> ${java_version} Because java_version isn't a RPM spec file attribute (and is instead an inline shell variable), we have to use $ instead of % to reference it. Signed-off-by: Alexander Scheel --- pki.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pki.spec b/pki.spec index 4446d657d..a461f10e8 100644 --- a/pki.spec +++ b/pki.spec @@ -855,7 +855,7 @@ cd build -DVERSION=%{version}-%{release} \ -DVAR_INSTALL_DIR:PATH=/var \ -DP11_KIT_TRUST=/etc/alternatives/libnssckbi.so.%{_arch} \ - -DJAVA_VERSION=%{java_version} \ + -DJAVA_VERSION=${java_version} \ -DJAVA_HOME=%java_home \ -DPKI_JAVA_PATH=%java \ -DJAVA_LIB_INSTALL_DIR=%{_jnidir} \ -- 2.26.2