[Pkg-sugar-devel] Bug#783890: Bug#783890: Bug#783890: Solution for conflicting svg file
James Cameron
quozl at laptop.org
Fri May 22 22:35:27 UTC 2015
On Fri, May 22, 2015 at 11:27:57AM +0200, Jonas Smedegaard wrote:
> Quoting Martin Abente (2015-05-21 22:22:11)
> > I am working on a related patch to prevent update-mime-database from
> > running while we are building the packages [2] (a related problem).
>
> I don't follow: How can update-mime-database at package build time cause
> any harm? Those databases should not be included in the package anyway
> (Debian packaging infrastructure - and RPM infrastructure as well, I
> hope - triggers update-mime-database call at package _install_ time).
Agreed.
Yes, over in the other camp, update-mime-database is called at install
time:
http://pkgs.fedoraproject.org/cgit/etoys.git/tree/etoys.spec#n89
http://pkgs.fedoraproject.org/cgit/scratch.git/tree/scratch.spec#n185
(and the etoys package for Sugar is built by the etoys source package;
mentioned for understanding the reference only).
But any accidental run of update-mime-database at package build time
is ignored by the RPM process, because it explicitly identifies what
is to be included.
I guess this has hidden a fault in the upstream source, so we should
get it fixed in the upstream source.
--
James Cameron
http://quozl.linux.org.au/
More information about the pkg-sugar-devel
mailing list