[Rpm-maint] Improving Perl and Python dependency generation

Mark Hatle mark.hatle at windriver.com
Fri Feb 9 15:41:23 UTC 2007


The only problem I see with this approach is the case where the build
system and the target system you are building the packages for do not
match.  In that case python/perl may not have the same dependency
information as the targeted system, or in some cases the python/perl
script itself may fail to execute in the build environment.

--Mark

Paul Nasrat wrote:
> I had a look at Peter Gordon's python module finding code to work with
> rpmbuild.
> 
> http://thecodergeek.com/downloads/fedora/scripts/find_python_modules_requires
> 
> I'd personally prefer something use the modulefinder module for python
> 2.3 and above.
> 
> Whilst we're at it'd also be nice if we could use Module::ScanDeps for
> the perl module finding. This would be an external module, but we could
> fall back on existing mechanisms.
> 
> We really shouldn't be writing our own language specific dependency
> generators where good native ones already exist.
> 
> Any thoughts?  My perl is quite rusty so if someone wants to get a proof
> of concept using Module::ScanDeps that'd be great and I'll work on the
> python one after I get back from holiday on Wednesday.
> 
> Paul
> 
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint




More information about the Rpm-maint mailing list