Re: New Draft Packaging Guideline - Fixing Gconf schema registration

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

 



On Tue, 2009-04-21 at 23:50 -0700, Toshio Kuratomi wrote:

> 
> https://fedoraproject.org/wiki/PackagingDrafts/ScriptletSnippets/GConf#Compare_gconf_schemas
> 
> mclasen, would the new macros or something like them be acceptable to you?
> 

Sure, looks fine to me in general. 

Small nit: I think for the 'obsoleting schema1' case, you need to have
some "if [ -f "$schema" ]; " in there somewhere, since you don't know
which version was previously installed. 

That also brings up the point that it is hard to know when to drop this
obsoleting call, but that is nothing new and not that important, it
happens relatively rarely that schemas get dropped.

In %gconf_schema_upgrade, I think you want to remove to copy
in /var/lib/rpm-state/gconf regardless of the outcome of the comparison.

As far as owning the directory, I think it should be owned by whichever
package ends up installing the macros.


--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux