已开启
fix build warnings: patchN is deprecated (8 usages found), use patch N (or %patch -P N) #219
AtomGit-Bot创建于 2024年12月4日
fix build warnings: patchN is deprecated (8 usages found), use patch N (or %patch -P N) #219
已开启
AtomGit-Bot创建于 2024年12月4日
从refs/pull/219/head合入到master
共 1 个文件变更+12-9
@@ -179,7 +179,7 @@
179%global top_level_dir_name %{origin}179%global top_level_dir_name %{origin}
180%global minorver 0180%global minorver 0
181%global buildver 11181%global buildver 11
182-%global rpmrelease 2182+%global rpmrelease 3
183# 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 digit183# 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
184%if %is_system_jdk184%if %is_system_jdk
185%global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} )185%global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} )
@@ -1212,19 +1212,19 @@ fi
1212# Remove libraries that are linked1212# Remove libraries that are linked
1213sh %{SOURCE12}1213sh %{SOURCE12}
1214pushd %{top_level_dir_name}1214pushd %{top_level_dir_name}
1215-%patch1 -p11215+%patch 1 -p1
1216-%patch2 -p11216+%patch 2 -p1
1217-%patch3 -p11217+%patch 3 -p1
1218-%patch7 -p11218+%patch 7 -p1
1219-%patch8 -p11219+%patch 8 -p1
1220-%patch9 -p11220+%patch 9 -p1
1221popd # openjdk1221popd # openjdk
1222 1222 
1223-%patch10001223+%patch 1000
1224 1224 
1225%ifarch loongarch641225%ifarch loongarch64
1226pushd %{top_level_dir_name}1226pushd %{top_level_dir_name}
1227-%patch3000 -p11227+%patch 3000 -p1
1228popd1228popd
1229%endif1229%endif
1230 1230 
@@ -1795,6 +1795,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect
1795 1795 
1796 1796 
1797%changelog1797%changelog
1798+* Wed Dec 04 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 1:23.0.1.11-3.rolling
1799+- fix: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N)
1800+ 
1798* Thu Nov 28 2024 Dingli Zhang <dingli@iscas.ac.cn> - 1:23.0.1.11-2.rolling1801* Thu Nov 28 2024 Dingli Zhang <dingli@iscas.ac.cn> - 1:23.0.1.11-2.rolling
1799- Adopt suitable buildjdkver to build by itself1802- Adopt suitable buildjdkver to build by itself
1800- Modify release and rpmrelease in spec1803- Modify release and rpmrelease in spec