Open
【Spec】make %postun alternatives name consistent with %post #38
zybcodeAdd on Oct 8
【Spec】make %postun alternatives name consistent with %post #38
Open
Merged fromzybcode/icedtea-webmasterintosrc-openeuler/icedtea-webmaster
Total: 1 files changed+5-2
| @@ -10,7 +10,7 @@ | |||
| 10 | %global debug_package %{nil} | 10 | %global debug_package %{nil} |
| 11 | Name: icedtea-web | 11 | Name: icedtea-web |
| 12 | Version: 1.8.4 | 12 | Version: 1.8.4 |
| 13 | -Release: 10 | 13 | +Release: 11 |
| 14 | Summary: Additional Java components for OpenJDK - Java Web Start implementation | 14 | Summary: Additional Java components for OpenJDK - Java Web Start implementation |
| 15 | License: LGPLv2+ and GPLv2 with exceptions | 15 | License: LGPLv2+ and GPLv2 with exceptions |
| 16 | URL: http://icedtea.classpath.org/wiki/IcedTea-Web | 16 | URL: http://icedtea.classpath.org/wiki/IcedTea-Web |
| @@ -144,7 +144,7 @@ exit 0 | |||
| 144 | update-desktop-database &> /dev/null || : | 144 | update-desktop-database &> /dev/null || : |
| 145 | if [ $1 -eq 0 ] | 145 | if [ $1 -eq 0 ] |
| 146 | then | 146 | then |
| 147 | - alternatives --remove javaws %{_prefix}/bin/javaws%{binsuffix} | 147 | + alternatives --remove javaws.%{_arch} %{_prefix}/bin/javaws%{binsuffix} |
| 148 | gconftool-2 -u %{jnlphandler}/command &> /dev/null || : | 148 | gconftool-2 -u %{jnlphandler}/command &> /dev/null || : |
| 149 | gconftool-2 -u %{jnlphandler}/enabled &> /dev/null || : | 149 | gconftool-2 -u %{jnlphandler}/enabled &> /dev/null || : |
| 150 | gconftool-2 -u %{jnlpshandler}/command &> /dev/null || : | 150 | gconftool-2 -u %{jnlpshandler}/command &> /dev/null || : |
| @@ -177,6 +177,9 @@ exit 0 | |||
| 177 | %{_datadir}/man/man1/* | 177 | %{_datadir}/man/man1/* |
| 178 | 178 | ||
| 179 | %changelog | 179 | %changelog |
| 180 | +* Thu Oct 08 2026 dev01212 <dev01212@linx-info.com> - 1.8.4-11 | ||
| 181 | +- %postun 中使用与 %post 一致的 alternatives 名称 javaws.%{_arch},确保卸载时链接被正确移除 | ||
| 182 | + | ||
| 180 | * Wed Aug 05 2026 douyiwang <douyiwang@huawei.com> - 1.8.4-10 | 183 | * Wed Aug 05 2026 douyiwang <douyiwang@huawei.com> - 1.8.4-10 |
| 181 | - use %mvn_artifact instead of %add_maven_depmap. | 184 | - use %mvn_artifact instead of %add_maven_depmap. |
| 182 | - fix hamcrest jar not found by configure (Patch0009). | 185 | - fix hamcrest jar not found by configure (Patch0009). |