[Mageia-dev] new environment variable for rpmbuild?

Jerome Quelin jquelin at gmail.com
Sun Dec 9 14:39:54 CET 2012


On 12/12/09 13:09 +0100, Olivier Blin wrote:
> > On 12/12/06 19:45 +0100, nicolas vigier wrote:
> >> On Thu, 06 Dec 2012, Jerome Quelin wrote:
> >> > Would it be possible to add a new environment variable for rpmbuild to
> >> > use when building rpms?
> >> > 
> >> > new variable:   PERL_AUTOINSTALL=--skipdeps
> >> 
> >> If it's needed in %install, it can be added to %__spec_install_pre :
> >> http://svnweb.mageia.org/soft/rpm/rpm-setup/trunk/build.macros.in?revision=6508&view=markup#l288
> >> 
> >> Is it needed in %prep or %build ?
> >
> > Sorry for the delay before answering - it's needed in %build.
> 
> Can't we add some %__spec_build_pre macro with these then?

I guess we can, but since I don't really know which is the best, please
let met know what should be patched preferrably.

Jérôme 


More information about the Mageia-dev mailing list