[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: GConf .schema packaging procedure



On Fri, 2008-10-24 at 13:46 +0100, Jonathan Roberts wrote:
> Hi,
> 
> Could anyone point me at some guidelines for packaging .schemas files?
> 
> I'm packaging:
> 
> http://jonrob.fedorapeople.org/RPMS/go-home-applet.spec
> 
> And review bug is at:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=451768
> 
> .schemas is being installed in /etc/ for this package, triggering
> non-conffile-in-etc warning.
> 


I think most of it should be covered in the packaging guidelines, but
what I always do is to find a simple spec to copy from, e.g. this one

http://cvs.fedoraproject.org/viewvc/rpms/gcalctool/devel/gcalctool.spec?view=markup

There is a few parts here, you need to have %post, %preun and %preun
sections that handle the installation and deinstallation, and
corresponding Requires for GConf2. 

Schema files are definitively not conffiles, so the non-conffile warning
should be ignored. 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]