Le Mardi 10 Juin 2003 15:06, Buchan Milne a �crit :
> As we are currently trying to get koha running, and the only available
> box for it is running a slightly older release, we are rebuilding a few
> SRPMs on it, but it really could be much simpler if we could just query
> a cooker box for the srpm that "provides" a certain "binary" rpm, then
> just wget it (for now).
>
> The only thing I have seen in perl-URPM's changelog that may be related
> to this is:
>
> * Thu Apr 24 2003 Fran�ois Pons <[EMAIL PROTECTED]> 0.82-4mdk
>
> - intergrated another patch from Olivier Thauvin to add method
>   for manipulating source rpm to URPM::Package (buildarchs,
>   excludearchs, exclusivearchs).
>
> So, are we going to get hdlists for SRPMs, and support in perl-URPM for
> this any time soon?

If you understand hdlist contain all rpms header, you're able to understand 
that all method availlable in perl-URPM works for both hdlist or rpms (src 
and binary).

distriblint works from hdlist or rpm, transparency for user. It parse rpm 
headers or hdlist and get info trought perl-URPM, that's why I add some 
functions.

If you are asking about support of srpms on urpmi, I discussed a bit about 
this with F. Pons.
The problem is simple: you should to be root to install rpms, and should be 
normal user to install srpms.
urpmi mysource.src.rpm will install dependencies to build the src, you have to 
install manually the src.rpm after or before.

My rebuild script do:
sudo /usr/sbin/urpmi file.src.rpm
rpm -Uvh file.src.rpm

Not a big deal.

Urpmi is not perfect with src.rpm, but some issues or miss come from rpm 
itself. Very hard to deal.

>
> Regards,
> Buchan

-- 
Linux pour Mac !? Enfin le moyen de transformer
une pomme en v�ritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/


Reply via email to