Open
[sync] PR-46: 同步升级openEuler-24.09的版本 #48
[sync] PR-46: 同步升级openEuler-24.09的版本 #48
Open
AtomGit-BotAdd on Oct 22, 2024
Total: 1 files changed+14-1
@@ -3,7 +3,7 @@
3 3 
4Name: rpcbind4Name: rpcbind
5Version: 1.2.65Version: 1.2.6
6-Release: 76+Release: 8
7Summary: Universal addresses to RPC program number mapper7Summary: Universal addresses to RPC program number mapper
8License: BSD8License: BSD
9 9 
@@ -88,6 +88,13 @@ fi
88%postun88%postun
89%systemd_postun_with_restart %{name}.socket %{name}.service89%systemd_postun_with_restart %{name}.socket %{name}.service
90 90 
91+%triggerin -- %{name} > 0.2.2-2.0
92+if systemctl -q is-enabled %{name}.socket
93+then
94+/bin/systemctl reenable %{name}.socket >/dev/null 2>&1 || :
95+/bin/systemctl restart %{name}.socket >/dev/null 2>&1 || :
96+fi
97+ 
91if [ ! -d /var/lib/rpcbind ]98if [ ! -d /var/lib/rpcbind ]
92then99then
93 mkdir /var/lib/rpcbind100 mkdir /var/lib/rpcbind
@@ -115,6 +122,12 @@ fi
115%{_mandir}/man8/*.8.gz122%{_mandir}/man8/*.8.gz
116 123 
117%changelog124%changelog
125+* Tue Jun 18 2024 sunsuwan <sunsuwan3@huawei.com> - 1.2.6-8
126+- Type:bugfix
127+- Id:NA
128+- SUG:NA
129+- DESC:add back the mistakenly deleted triggerin
130+ 
118* Mon May 29 2023 liuhaipeng <liuhaipeng@xfusion.com> - 1.2.6-7131* Mon May 29 2023 liuhaipeng <liuhaipeng@xfusion.com> - 1.2.6-7
119- Type:bugfix132- Type:bugfix
120- Id:NA133- Id:NA