-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Guillaume Rousse wrote:
>>
>>AND IF RPM WORKED RIGHT, then:
>>
>>'rpm -q --qf "%{SOURCE}" --spefile <spec file>'
>
> You're assuming that sources are always available from constant URL,
which is
> only 90% true (dynamic URL)
90% of which (sourceforge) can be scripted around.
'rpm -q --qf "%{SOURCE}" --spefile <spec file>'|sed -e
's/prdownloads/$USERS_SF_MIRROR/'
, and only 80% efficient (mirrors).
Well, we just handled the sourceforge ones. How does Gentoo handle source?
Of course, if we can customise some things in Mandrake based on location
(this is an advance notice, we are considering doing this for south
africa) then a lot of source mirrors could be handled this way too, such
as kernel.org etc.
> Just try to give me the real URL for Java JDK, for instance, or the
correct
> URL for any perl module.
Well, with one of the perl modules, it's trivial to build an rpm from
CPAN. I am quite sure it's possible (maybe currently not that easy) to
get a source url out of a CPAN that is correctly setup.
Since we can't include JDK atm, it's currently only of academic interest
to everyone but jpackage. But I will take a look sometime.
Buchan
- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE92n29rJK6UGDSBKcRAqhJAJ9Ia0+IVmpB97f+Xo41jvS4+IV+QQCgnHgV
pgujG2dILZ/MV5f144oRD9U=
=HUEe
-----END PGP SIGNATURE-----