> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:cooker-owner@linux-
> mandrake.com] On Behalf Of David Odin
> Sent: Thursday, October 04, 2001 7:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Cooker] glib - info-install conflict
> 
> On Thu, Oct 04, 2001 at 10:51:54PM +0800, Stefan van der Eijk wrote:
> > I just recompiled glib-1.2 on my alpha, but when I try to install
> > libglib1.2-devel it reports a conflict with the info-install
package:
> >
> > [root@alpha cooker]# urpmi glib-devel -p
> > installing
> > /misc/linux/mandrake/cooker/libglib1.2-devel-1.2.10-3mdk.alpha.rpm
> > Preparing...
> > ##################################################
> > file /usr/share/info/dir from install of
libglib1.2-devel-1.2.10-3mdk
> > conflicts
> > with file from package info-install-4.0-21mdk
> > Installation failed
> > Try installation without checking dependencies? (y/N)
> >
> > peering into the glib.spec file I notice that the info pages in the
> > %files section are globbed:
> >
> > %{_infodir}/*
> >
> > and so these two files are in the filelist:
> >
> > /usr/share/info/dir
> > /usr/share/info/glib.info.bz2
> >
> > The .spec file of other packages often uses:
> >
> > %{_infodir}/%{name}*
> >
> > Shall I modify glib.spec to use  %{_infodir}/%{name}* ?
> >
>   Hmmm. I don't know what it the right thing here.
>   How does glib is to be added to the global /usr/share/info/dir?
> 
> --
>   [EMAIL PROTECTED]

dir should never be written directly; instead, your package should use
install-info, like

install-info --dir-file=${_infodir}/dir ${_infodir}/glib.info

assuming, your glib.info is properly structured and contains

START-INFO-DIR-ENTRY
...
END-INFO-DIR-ENTRY

If not, just use grep and echo :-)

-andrej

Reply via email to