Peter Lemenkov wrote:
Hello All!
Just for clarification - is it allowed to mix macros and native
command in spec-file? For instance
%make
make %{?_smp_mflags}
%install
%{_rm} -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} install
Allowed as in the RPM will build, yes, allowed as in what do the guidelines say. No, either use all macros or all native commands.
Regards, Hans