Jeffrey Johnson:
>> [...]
>> The .src.rpm format is somewhat troublesome to port, but bundled
>> rpm2cpio.sh and extracted the tarball in a post-extract {} step.
>>
> [...]
> But if it gets to be too big a hassle, I'll pop out the tar ball and included
> detached signature whenever you wish.
>
Basically it's only troublesome because there is no built-in support
for the .src.rpm format, while there is for the .tar.gz. format...
But it was not a big deal to add it, to the "extract" phase:
extract.suffix .src.rpm
extract.cmd ${filespath}/rpm2cpio.sh
extract.pre_args ""
extract.post_args "| cpio -dvim"
post-extract {
system -W ${workpath} "${portutil::autoconf::tar_command} -xzf
rpm-${version}.tar.gz"
}
So for MacPorts it can remain in that format, if you prefer.
--anders______________________________________________________________________
RPM Package Manager http://rpm5.org
User Communication List [email protected]