已开启
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
已开启
从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 0 | 180 | %global minorver 0 |
| 181 | %global buildver 11 | 181 | %global buildver 11 |
| 182 | -%global rpmrelease 2 | 182 | +%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 digit | 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 digit |
| 184 | %if %is_system_jdk | 184 | %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 linked | 1212 | # Remove libraries that are linked |
| 1213 | sh %{SOURCE12} | 1213 | sh %{SOURCE12} |
| 1214 | pushd %{top_level_dir_name} | 1214 | pushd %{top_level_dir_name} |
| 1215 | -%patch1 -p1 | 1215 | +%patch 1 -p1 |
| 1216 | -%patch2 -p1 | 1216 | +%patch 2 -p1 |
| 1217 | -%patch3 -p1 | 1217 | +%patch 3 -p1 |
| 1218 | -%patch7 -p1 | 1218 | +%patch 7 -p1 |
| 1219 | -%patch8 -p1 | 1219 | +%patch 8 -p1 |
| 1220 | -%patch9 -p1 | 1220 | +%patch 9 -p1 |
| 1221 | popd # openjdk | 1221 | popd # openjdk |
| 1222 | 1222 | ||
| 1223 | -%patch1000 | 1223 | +%patch 1000 |
| 1224 | 1224 | ||
| 1225 | %ifarch loongarch64 | 1225 | %ifarch loongarch64 |
| 1226 | pushd %{top_level_dir_name} | 1226 | pushd %{top_level_dir_name} |
| 1227 | -%patch3000 -p1 | 1227 | +%patch 3000 -p1 |
| 1228 | popd | 1228 | popd |
| 1229 | %endif | 1229 | %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 | %changelog | 1797 | %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.rolling | 1801 | * Thu Nov 28 2024 Dingli Zhang <dingli@iscas.ac.cn> - 1:23.0.1.11-2.rolling |
| 1799 | - Adopt suitable buildjdkver to build by itself | 1802 | - Adopt suitable buildjdkver to build by itself |
| 1800 | - Modify release and rpmrelease in spec | 1803 | - Modify release and rpmrelease in spec |