Bug 112931 - uim: gtk2 specific stuff in %post and %postun should be moved to the proper sub-package
Summary: uim: gtk2 specific stuff in %post and %postun should be moved to the proper s...
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 2
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Mike Fabian
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 10:30 UTC by Mike Fabian
Modified: 2005-08-25 10:41 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Fabian 2005-08-25 10:30:09 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
Comment 1 Mike Fabian 2005-08-25 10:41:41 UTC
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.