mirror of
https://github.com/lanseyujie/rpmbuild.git
synced 2025-01-23 14:32:17 +08:00
fix: missing link after upgrade
This commit is contained in:
parent
c50170392b
commit
d354e1282f
@ -5,7 +5,7 @@
|
||||
|
||||
# https://dtapp-pub.dingtalk.com/dingtalk-desktop/xc_dingtalk_update/linux_deb/Update/other/amd64/linux_dingtalk_update_package_gray.json
|
||||
Name: dingtalk
|
||||
Version: 7.5.20.40523
|
||||
Version: 7.5.20.40605
|
||||
Release: 1%{?dist}
|
||||
Summary: dingtalk
|
||||
License: Proprietary
|
||||
@ -46,6 +46,11 @@ install -Dm755 %{S:3} -t %{buildroot}%{_bindir}
|
||||
/opt/dingtalk/
|
||||
|
||||
%changelog
|
||||
* Thu Jun 13 2024 nobody <nobody@nobody.com> - 7.5.20.40605
|
||||
-【功能】左侧导航栏功能入口开放
|
||||
-【兼容性】剪切板卡顿问题修复
|
||||
-【问题】修复若干 bug & 稳定性问题
|
||||
|
||||
* Fri May 24 2024 nobody <nobody@nobody.com> - 7.5.20.40523
|
||||
-【功能】左侧导航栏功能入口开放
|
||||
-【兼容性】剪切板卡顿问题修复
|
||||
|
@ -4,7 +4,7 @@
|
||||
%undefine __arch_install_post
|
||||
|
||||
Name: typora
|
||||
Version: 1.8.10
|
||||
Version: 1.9.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Markdown Editor
|
||||
License: Proprietary
|
||||
@ -40,15 +40,24 @@ install -Dm644 %{S:3} -t %{buildroot}/opt/typora/
|
||||
%{_datarootdir}/icons/hicolor/scalable/apps/typora.svg
|
||||
/opt/typora/
|
||||
|
||||
%pre
|
||||
|
||||
%post
|
||||
ln -sf /opt/typora/Typora /usr/bin/typora
|
||||
xdg-mime install --mode system --novendor /opt/typora/typora.xml
|
||||
xdg-mime default typora.desktop text/markdown
|
||||
|
||||
%preun
|
||||
xdg-mime uninstall --mode system /opt/typora/typora.xml
|
||||
rm -f /usr/bin/typora
|
||||
if [ "$1" -eq 0 ]; then
|
||||
xdg-mime uninstall --mode system /opt/typora/typora.xml
|
||||
rm -f /usr/bin/typora
|
||||
fi
|
||||
|
||||
%postun
|
||||
|
||||
%changelog
|
||||
* Thu Jun 20 2024 nobody <nobody@nobody.com> - 1.9.3
|
||||
- new version
|
||||
|
||||
* Tue May 21 2024 nobody <nobody@nobody.com> - 1.8.10
|
||||
- new version
|
||||
|
Loading…
Reference in New Issue
Block a user