diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index b2861e8..24a0c98 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -2358,7 +2358,7 @@ for suffix in %{build_loop} ; do %endif %endif # Fix build paths in ELF files so it looks like we built them - portablenvr="%{name}-portable-%{version}-%{prelease}.%{portablesuffix}.%{_arch}" + portablenvr="%{name}-%{VERSION}-%{prelease}.%{portablesuffix}.%{_arch}" for file in $(find ${installdir} -type f) ; do if ! echo ${file} | grep -q 'libffi' ; then if file ${file} | grep -q 'ELF'; then