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}
>>
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
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
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
$ 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}