removed hardcoded /usr/lib/jvm by %{_jvmdir} to make rpmlint happy
This commit is contained in:
parent
f4cdbe8673
commit
fb85c81739
@ -321,7 +321,7 @@
|
|||||||
%global lts_designator_zip ""
|
%global lts_designator_zip ""
|
||||||
%endif
|
%endif
|
||||||
# JDK to use for bootstrapping
|
# JDK to use for bootstrapping
|
||||||
%global bootjdk /usr/lib/jvm/java-%{buildjdkver}-openjdk
|
%global bootjdk %{_jvmdir}/java-%{buildjdkver}-openjdk
|
||||||
# Define whether to use the bootstrap JDK directly or with a fresh libjvm.so
|
# Define whether to use the bootstrap JDK directly or with a fresh libjvm.so
|
||||||
# This will only work where the bootstrap JDK is the same major version
|
# This will only work where the bootstrap JDK is the same major version
|
||||||
# as the JDK being built
|
# as the JDK being built
|
||||||
@ -342,7 +342,7 @@
|
|||||||
%global top_level_dir_name %{origin}
|
%global top_level_dir_name %{origin}
|
||||||
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
||||||
%global buildver 37
|
%global buildver 37
|
||||||
%global rpmrelease 3
|
%global rpmrelease 4
|
||||||
# Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit
|
# Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit
|
||||||
%if %is_system_jdk
|
%if %is_system_jdk
|
||||||
# Using 10 digits may overflow the int used for priority, so we combine the patch and build versions
|
# Using 10 digits may overflow the int used for priority, so we combine the patch and build versions
|
||||||
|
Loading…
Reference in New Issue
Block a user