Re: atrpms-rpm-config for rhel6

Axel Thimm <[email protected]> Fri, 17 May 2013 21:33:16 +0200
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <[email protected]>
Hi,

On Fri, May 17, 2013 at 06:37:00AM -0300, Paulo Cavalcanti wrote:
>  It was using /usr/sbin/depmod.
> 
> Although this works on F17, F18, rhel6 still uses /sbin/depmod.
> 
> I think this is the wrong line:
> 
> macros.atrpms:%__depmod %(echo %{expand:%%__depmod_%{distid}} | grep '^%' >
> /dev/null && echo /usr/sbin/depmod || echo %{expand:%%__depmod_%{distid}})

Yes, but this only applies if there is no explicit %__depmod_el6
macro, which there is:

%__depmod %(echo %{expand:%%__depmod_%{distid}} | grep '^%' > /dev/null && echo /usr/sbin/depmod || echo %{expand:%%__depmod_%{distid}})
%__depmod_el3 /sbin/depmod
%__depmod_el4 /sbin/depmod
%__depmod_el5 /sbin/depmod
%__depmod_el6 /sbin/depmod
%__depmod_fc17 /sbin/depmod

> I am just using the previous macro version on rhel6
> (atrpms-rpm-config-201-3.noarch.rpm) ...
> 
> Of course, this means you will have to rebuild all kmdls for rhel6 ...

Do you see any kmdl package that is broken that way? I just checked a
couple of packages and they all have the proper dependencies.

> On Fri, May 17, 2013 at 12:50 AM, Axel Thimm <[email protected]> wrote:
> 
> > Hi,
> >
> > can you point me to the broken package? For el6 it should use
> > /sbin/depmod, and the macros seem to do so.
> >
> > Thanks!
> >
> > On Thu, May 16, 2013 at 11:53:33AM -0300, Paulo Cavalcanti wrote:
> > > Axel,
> > >
> > > the new version of the atrpms-rpm-config
> > > sets the wrong requirement (path) for depmod on rhel6 ...
> > >
> > > --
> > > Paulo Roma Cavalcanti
> > > LCG - UFRJ
> >
> > > _______________________________________________
> > > atrpms-devel mailing list
> > > [email protected]
> > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> >
> >
> > --
> > Axel.Thimm at ATrpms.net
> >
> > _______________________________________________
> > atrpms-devel mailing list
> > [email protected]
> > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> >
> 
> 
> 
> -- 
> Paulo Roma Cavalcanti
> DCC - UFRJ

> _______________________________________________
> atrpms-devel mailing list
> [email protected]
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel


-- 
Axel.Thimm at ATrpms.net