Bug 254850

Summary: stardict has broken scriptlets
Product: [openSUSE] openSUSE 10.3 Reporter: Andreas Hanke <andreas.hanke>
Component: OtherAssignee: Xin Wei Hu <xwhu>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Hanke 2007-03-15 10:09:45 UTC
This commit:

http://lists.opensuse.org/opensuse-commit/2007-03/msg00598.html

is 100% broken. Now stardict has a correct PreReq on gconftool-2, but does not actually use it any more. If you really don't want to install the gconf schema (which will probably break the application), you don't need the PreReq either.

The "touch var/adm/SuSEconfig/run-scrollkeeper-update" is superfluous as well. SuSEconfig.scrollkeeper does not exist any more.
Comment 1 Andreas Hanke 2007-03-15 10:11:47 UTC
Please use *all* of the new gconf scriptlets (or none) and not just %gconf_schemas_prereq.

The usage is documented in /etc/rpm/macros.gconf2. You need one for %posttrans, one for %pre and one for %preun.
Comment 2 Stanislav Brabec 2007-03-15 14:48:16 UTC
Fixed both issues.