Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=712624

--- Comment #15 from Richard Shaw <hobbes1...@gmail.com> 2011-07-09 09:06:12 
EDT ---
Ok, I think I've found the last problem before I can approve.

Apparently the macros in the gconf scriptlets assume a .schemas extention so
when you use:
"""
%pre
%gconf_schema_prepare %{name}.schemas

%post
%gconf_schema_upgrade %{name}.schemas
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%preun
%gconf_schema_remove %{name}.schemas
"""

It actually looks for aeskulap.schemas.schemas (see yum install output):
"""
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : aeskulap-0.2.2-0.4beta1.fc14.x86_64                      1/1 
I/O warning : failed to load external entity
"/etc/gconf/schemas/aeskulap.schemas.schemas"
Failed to open `/etc/gconf/schemas/aeskulap.schemas.schemas': No such file or
directory

Installed:
  aeskulap.x86_64 0:0.2.2-0.4beta1.fc14                                         

Complete!
"""

I think if you take those extensions off we should be good. I checked the GConf
guidelines[1] again and it is subtle but the example it showed was for
"foobar.schemas" then you just use:

%gconf_schema_prepare foobar
%gconf_schema_obsolete foo

Thanks,
Richard

[1] http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GConf

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to