I87OG0:[EulerMaker] openjdk-latest build problem in openEuler-20.03-LTS-SP4:everything
This commit is contained in:
parent
4b402dd256
commit
c7350c9645
@ -176,7 +176,7 @@
|
|||||||
%global top_level_dir_name %{origin}
|
%global top_level_dir_name %{origin}
|
||||||
%global minorver 0
|
%global minorver 0
|
||||||
%global buildver 35
|
%global buildver 35
|
||||||
%global rpmrelease 1
|
%global rpmrelease 2
|
||||||
# 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
|
||||||
%global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} )
|
%global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} )
|
||||||
@ -788,7 +788,7 @@ Requires: tzdata-java >= 2015d
|
|||||||
# tool to copy jdk's configs - should be Recommends only, but then only dnf/yum enforce it,
|
# tool to copy jdk's configs - should be Recommends only, but then only dnf/yum enforce it,
|
||||||
# not rpm transaction and so no configs are persisted when pure rpm -u is run. It may be
|
# not rpm transaction and so no configs are persisted when pure rpm -u is run. It may be
|
||||||
# considered as regression
|
# considered as regression
|
||||||
Requires: copy-jdk-configs >= 4.0
|
Requires: copy-jdk-configs >= 3.3
|
||||||
OrderWithRequires: copy-jdk-configs
|
OrderWithRequires: copy-jdk-configs
|
||||||
# for printing support
|
# for printing support
|
||||||
Requires: cups-libs
|
Requires: cups-libs
|
||||||
@ -1612,12 +1612,7 @@ done
|
|||||||
-- (copy_jdk_configs from %%{_libexecdir} used) or not copied at all
|
-- (copy_jdk_configs from %%{_libexecdir} used) or not copied at all
|
||||||
local posix = require "posix"
|
local posix = require "posix"
|
||||||
|
|
||||||
if (os.getenv("debug") == "true") then
|
local debug = false
|
||||||
debug = true;
|
|
||||||
print("cjc: in spec debug is on")
|
|
||||||
else
|
|
||||||
debug = false;
|
|
||||||
end
|
|
||||||
|
|
||||||
SOURCE1 = "%{rpm_state_dir}/copy_jdk_configs.lua"
|
SOURCE1 = "%{rpm_state_dir}/copy_jdk_configs.lua"
|
||||||
SOURCE2 = "%{_libexecdir}/copy_jdk_configs.lua"
|
SOURCE2 = "%{_libexecdir}/copy_jdk_configs.lua"
|
||||||
@ -1646,9 +1641,8 @@ else
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- run content of included file with fake args
|
-- run content of included file with fake args
|
||||||
cjc = require "copy_jdk_configs.lua"
|
|
||||||
arg = {"--currentjvm", "%{uniquesuffix %{nil}}", "--jvmdir", "%{_jvmdir %{nil}}", "--origname", "%{name}", "--origjavaver", "%{javaver}", "--arch", "%{_arch}", "--temp", "%{rpm_state_dir}/%{name}.%{_arch}"}
|
arg = {"--currentjvm", "%{uniquesuffix %{nil}}", "--jvmdir", "%{_jvmdir %{nil}}", "--origname", "%{name}", "--origjavaver", "%{javaver}", "--arch", "%{_arch}", "--temp", "%{rpm_state_dir}/%{name}.%{_arch}"}
|
||||||
cjc.mainProgram(arg)
|
require "copy_jdk_configs.lua"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{post_script %{nil}}
|
%{post_script %{nil}}
|
||||||
@ -1773,6 +1767,9 @@ cjc.mainProgram(arg)
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 12 2023 DXwangg <wangjiawei80@huawei.com> - 1:21.0.0.35-2-rolling
|
||||||
|
- fix [EulerMaker] openjdk-latest build problem in openEuler-20.03-LTS-SP4:everything
|
||||||
|
|
||||||
* Sat Oct 7 2023 kuenking111 <wangkun49@huawei.com> - 1:21.0.0.35-0-rolling
|
* Sat Oct 7 2023 kuenking111 <wangkun49@huawei.com> - 1:21.0.0.35-0-rolling
|
||||||
|
|
||||||
* Mon Aug 07 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:20.0.2.9-1-rolling
|
* Mon Aug 07 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:20.0.2.9-1-rolling
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user