Re: [Mageia-dev] new environment variable for rpmbuild?
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
Re: [Mageia-dev] new environment variable for rpmbuild?
Jerome Quelin writes: > 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? -- Olivier Blin - blino
Re: [Mageia-dev] new environment variable for rpmbuild?
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. Jérôme
Re: [Mageia-dev] new environment variable for rpmbuild?
> 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 Hi, Why not a new %perl macro for build purpose ? %perl export PERL_AUTOINSTALL=--skipdeps ; \ %{__perl}
Re: [Mageia-dev] new environment variable for rpmbuild?
On Thu, 06 Dec 2012, Jerome Quelin wrote: > Hi, > > 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 ?
Re: [Mageia-dev] new environment variable for rpmbuild?
On 6 December 2012 18:22, 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 > > 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? rpm-mageia-setup-build svn+ssh://svn.mageia.org/svn/soft/rpm/rpm-setup/trunk
[Mageia-dev] new environment variable for rpmbuild?
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