[Mageia-dev] new environment variable for rpmbuild?

sardine sardine213 at sfr.fr
Fri Dec 7 00:01:57 CET 2012

> Hi,
> Would it be possible to add a new environment variable for rpmbuild to
> use when building rpms?
> new variable:   PERL_AUTOINSTALL=--skipdeps
> This would prevent Perl modules using autoinstall to prompt for
> downloading missing prereqs / optional deps:
> - If missing prereqs, the build would fail cleanly.
> - If missing optional dep, the build would proceed instead of failing.
> This should be best done before launching mass rebuild, as I found
> several such failures that could be avoided altogether if this nasty
> module wasn't used.
> ==> who can do that? what should be patched?
> Thanks,
> Jérôme 


Why not a new %perl macro for build purpose ?

%perl export PERL_AUTOINSTALL=--skipdeps ; \

More information about the Mageia-dev mailing list