public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Run triggers in env -i to avoid hang during install (#2439813)
@ 2026-05-31  2:09 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-05-31  2:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : e225926af1e690ee9653922fd9f72e55bf8895ad
Author : Adam Williamson <awilliam@redhat.com>
Date   : 2026-02-24T12:24:25-08:00
Stats  : +10/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/e225926af1e690ee9653922fd9f72e55bf8895ad?branch=autotool

Log:
Run triggers in env -i to avoid hang during install (#2439813)

---
diff --git a/ibus.spec b/ibus.spec
index 3bd6068..ed3ddea 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -53,7 +53,7 @@
 Name:           ibus
 Version:        1.5.34~beta1
 # https://github.com/fedora-infra/rpmautospec/issues/101
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPL-2.1-or-later
 URL:            https://github.com/ibus/%name/wiki
@@ -441,13 +441,17 @@ fi
 %posttrans
 dconf update || :
 
+# see https://bugzilla.redhat.com/show_bug.cgi?id=2439813
+# for use of `env -i`
 %transfiletriggerin -- %{_datadir}/ibus/component
 [ -x %{_bindir}/ibus ] && \
-  %{_bindir}/ibus write-cache --system &>/dev/null || :
+  env -i %{_bindir}/ibus write-cache --system &>/dev/null || :
 
+# see https://bugzilla.redhat.com/show_bug.cgi?id=2439813
+# for use of `env -i`
 %transfiletriggerpostun -- %{_datadir}/ibus/component
 [ -x %{_bindir}/ibus ] && \
-  %{_bindir}/ibus write-cache --system &>/dev/null || :
+  env -i %{_bindir}/ibus write-cache --system &>/dev/null || :
 
 
 %ldconfig_scriptlets libs
@@ -575,6 +579,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Feb 24 2026 Adam Williamson <awilliam@redhat.com> - 1.5.34~beta-3
+- Run triggers in env -i to avoid hang during install (#2439813)
+
 * Thu Feb 05 2026 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.34~beta1-2
 - Support input purpose and hits to ibus-wayland
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:09 [rpms/ibus] autotool: Run triggers in env -i to avoid hang during install (#2439813) Adam Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox