Re: Question about sane usage of macroses in perl template

2010-08-27 Thread Pavel Alexeev (aka Pahan-Hubbitus)
27.08.2010 13:58, Ralf Corsepius пишет: > On 08/27/2010 10:28 AM, Pavel Alexeev (aka Pahan-Hubbitus) wrote: >> $ rpmdev-newspec -t perl >> produce template where, inter alia we have such lines: >> %{__perl} Makefile.PL INSTALLDIRS=vendor >> OPTIMIZE="$RPM_OPT_FLAGS" >> >> make %{?_smp_mflags} >>

Re: Question about sane usage of macroses in perl template

2010-08-27 Thread Ralf Corsepius
On 08/27/2010 10:28 AM, Pavel Alexeev (aka Pahan-Hubbitus) wrote: > $ rpmdev-newspec -t perl > produce template where, inter alia we have such lines: > %{__perl} Makefile.PL INSTALLDIRS=vendor > OPTIMIZE="$RPM_OPT_FLAGS" > > make %{?_smp_mflags} > > I'm wonder why there used mix of macros %{__per

Re: Question about sane usage of macroses in perl template

2010-08-27 Thread Pavel Alexeev (aka Pahan-Hubbitus)
27.08.2010 13:08, Petr Pisar ?: > On 2010-08-27, Pavel Alexeev (aka Pahan-Hubbitus) > wrote: >> %{__perl} Makefile.PL INSTALLDIRS=vendor >> OPTIMIZE="$RPM_OPT_FLAGS" >> >> make %{?_smp_mflags} >> >> I'm wonder why there used mix of macros %{__perl} and plain other >> commands like make? > Be

Re: Question about sane usage of macroses in perl template

2010-08-27 Thread Petr Pisar
On 2010-08-27, Pavel Alexeev (aka Pahan-Hubbitus) wrote: > > %{__perl} Makefile.PL INSTALLDIRS=vendor > OPTIMIZE="$RPM_OPT_FLAGS" > > make %{?_smp_mflags} > > I'm wonder why there used mix of macros %{__perl} and plain other > commands like make? Because you cannot have macro for each shell comma

Question about sane usage of macroses in perl template

2010-08-27 Thread Pavel Alexeev (aka Pahan-Hubbitus)
$ rpmdev-newspec -t perl produce template where, inter alia we have such lines: %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags}