public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Resolves #2321990 Move xinit post scripts
@ 2026-05-31 2:08 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31 2:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : da7fce084d2cd6bc6d96bc4a1269245a0e7b6750
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2024-10-31T21:00:34+09:00
Stats : +13/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/da7fce084d2cd6bc6d96bc4a1269245a0e7b6750?branch=autotool
Log:
Resolves #2321990 Move xinit post scripts
---
diff --git a/ibus.spec b/ibus.spec
index 7883bc1..3c84b07 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -62,7 +62,7 @@
Name: ibus
Version: 1.5.31~rc1
# https://github.com/fedora-infra/rpmautospec/issues/101
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1-or-later
URL: https://github.com/ibus/%name/wiki
@@ -449,21 +449,25 @@ make check \
VERBOSE=1 \
%{nil}
-%post
+%post xinit
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
%postun
if [ "$1" -eq 0 ]; then
- %{_sbindir}/alternatives --remove xinputrc %{_xinputconf} || :
- # if alternative was set to manual, reset to auto
- [ -L %{_sysconfdir}/alternatives/xinputrc -a "`readlink %{_sysconfdir}/alternatives/xinputrc`" = "%{_xinputconf}" ] && %{_sbindir}/alternatives --auto xinputrc || :
-
# 'dconf update' sometimes does not update the db...
dconf update || :
[ -f %{_sysconfdir}/dconf/db/ibus ] && \
rm %{_sysconfdir}/dconf/db/ibus || :
fi
+%postun xinit
+if [ "$1" -eq 0 ]; then
+ %{_sbindir}/alternatives --remove xinputrc %{_xinputconf} || :
+ # if alternative was set to manual, reset to auto
+ [ -L %{_sysconfdir}/alternatives/xinputrc -a "`readlink %{_sysconfdir}/alternatives/xinputrc`" = "%{_xinputconf}" ] && %{_sbindir}/alternatives --auto xinputrc || :
+fi
+
+
%posttrans
dconf update || :
@@ -614,6 +618,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Thu Oct 31 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.31~rc1-2
+- Resolves #2321990 Move xinit post scripts
+
* Wed Oct 23 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.31~rc1-1
- Update compose tables
- Fix Unicode logic
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 2:08 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:08 [rpms/ibus] autotool: Resolves #2321990 Move xinit post scripts Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox