public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Remove obsolete scriptlets
@ 2026-05-31 2:06 Igor Gnatenko
0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-05-31 2:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : a84a8374f0f245b9425bf289418c39e372027186
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-01-06T10:35:23+01:00
Stats : +4/-20 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/a84a8374f0f245b9425bf289418c39e372027186?branch=autotool
Log:
Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/ibus.spec b/ibus.spec
index 7cfed1b..9a86242 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -30,7 +30,7 @@
Name: ibus
Version: 1.5.17
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@@ -338,25 +338,6 @@ dconf update || :
%postun libs -p /sbin/ldconfig
-%post gtk2
-if [ $1 -eq 1 ] ; then
- # For upgrades, the cache will be regenerated by the new package's %%postun
- gtk-query-immodules-2.0-%{__isa_bits} --update-cache &> /dev/null || :
-fi
-
-%postun gtk2
-gtk-query-immodules-2.0-%{__isa_bits} --update-cache &> /dev/null || :
-
-%post gtk3
-if [ $1 -eq 1 ] ; then
- # For upgrades, the cache will be regenerated by the new package's %%postun
- gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
-fi
-
-%postun gtk3
-gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
-
-
# FIXME: no version number
%files -f %{name}10.lang
%doc AUTHORS COPYING README
@@ -439,6 +420,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
%{_datadir}/gtk-doc/html/*
%changelog
+* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.17-3
+- Remove obsolete scriptlets
+
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.17-2
- Remove obsolete scriptlets
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/ibus] autotool: Remove obsolete scriptlets
@ 2026-05-31 2:06 Igor Gnatenko
0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-05-31 2:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 5f4aab12f653b356653b494f80e95d1d09ef02af
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-01-06T00:26:08+01:00
Stats : +4/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/5f4aab12f653b356653b494f80e95d1d09ef02af?branch=autotool
Log:
Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/ibus.spec b/ibus.spec
index 855e40c..7cfed1b 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -30,7 +30,7 @@
Name: ibus
Version: 1.5.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@@ -312,22 +312,14 @@ desktop-file-install --delete-original \
%find_lang %{name}10
%post
-# recreate icon cache
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
%postun
if [ "$1" -eq 0 ]; then
- # recreate icon cache
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
%{_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 || :
- glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
# 'dconf update' sometimes does not update the db...
dconf update || :
[ -f %{_sysconfdir}/dconf/db/ibus ] && \
@@ -338,8 +330,6 @@ if [ "$1" -eq 0 ]; then
fi
%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
dconf update || :
[ -x %{_bindir}/ibus ] && \
%{_bindir}/ibus write-cache --system &>/dev/null || :
@@ -449,6 +439,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
%{_datadir}/gtk-doc/html/*
%changelog
+* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.17-2
+- Remove obsolete scriptlets
+
* Sun Oct 22 2017 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.17-1
- Bumped to 1.5.17
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-31 2:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 2:06 [rpms/ibus] autotool: Remove obsolete scriptlets Igor Gnatenko
-- strict thread matches above, loose matches on Subject: below --
2026-05-31 2:06 Igor Gnatenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox