Bugzilla – Bug 112931
uim: gtk2 specific stuff in %post and %postun should be moved to the proper sub-package
Last modified: 2005-08-25 10:41:41 UTC
uim: gtk2 specific stuff in %post and %postun should be moved to the proper sub-package. See also: http://lists.suse.com/archive/m17n/2005-Aug/0030.html http://lists.suse.com/archive/m17n/2005-Aug/0031.html
Package with the following fix submitted to STABLE, should show up in Beta4: ++++++ uim.spec ++++++ --- /var/tmp/diff_new_pack.a12597/_old 2005-08-25 12:40:49.000000000 +0200 +++ /var/tmp/diff_new_pack.a12597/_new 2005-08-25 12:40:49.000000000 +0200 @@ -138,16 +138,20 @@ #[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %post +%run_ldconfig + +%postun +%run_ldconfig + +%post gtk2 # trigger run of SuSEconfig.gtk2 to register/unregister this input module # by calling gtk-query-immodules-2.0: touch var/adm/SuSEconfig/run-gtk -%run_ldconfig -%postun +%postun gtk2 # trigger run of SuSEconfig.gtk2 to register/unregister this input module # by calling gtk-query-immodules-2.0: touch var/adm/SuSEconfig/run-gtk -%run_ldconfig %files -n uim -f uim.lang %defattr(-, root, root) Closing as FIXED.