Bug 743580

Summary: gnote 0.8 package scripts don't uses GSettings Schema.
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: gnoteAssignee: Rahul Sundaram <metherid>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: debarshir, giallu, jspaleta, metherid, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnote-0.8.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-04 02:38:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description sangu 2011-10-05 12:36:04 UTC
Description of problem:
$ rpm -ql gnote | grep schemas
/usr/share/glib-2.0/schemas/org.gnome.gnote.gschema.xml

http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema

Then, in rpm scripts

$ rpm -q --scripts gnote
preinstall scriptlet (using /bin/sh):
if [ "$1" -gt 1 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
      /etc/gconf/schemas/gnote.schemas > /dev/null || :
fi
postinstall scriptlet (using /bin/sh):
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
    /etc/gconf/schemas/gnote.schemas > /dev/null
[...]

Version-Release number of selected component (if applicable):
0.8.0-1.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Gianluca Sforna 2011-10-07 21:49:15 UTC
And it also gives a warning for this at installation:


Running Transaction
  Installing : gnote-0.8.0-1.fc16.x86_64                                    1/1 
I/O warning : failed to load external entity "/etc/gconf/schemas/gnote.schemas"
Failed to open `/etc/gconf/schemas/gnote.schemas': No such file or directory

Installed:
  gnote.x86_64 0:0.8.0-1.fc16

Comment 2 Fedora Update System 2011-10-23 23:22:34 UTC
gnote-0.8.0-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gnote-0.8.0-2.fc16

Comment 3 Fedora Update System 2011-10-24 04:00:48 UTC
Package gnote-0.8.0-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnote-0.8.0-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14783
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-10-25 02:32:05 UTC
gnote-0.8.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gnote-0.8.1-1.fc16

Comment 5 Fedora Update System 2011-12-04 02:38:54 UTC
gnote-0.8.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.