rpm macro magic help

Kevin Kofler kevin.kofler at chello.at
Sat Nov 2 17:18:30 UTC 2013


Hi,

Sandro Mani wrote:
> %define do_build() \
> mkdir build_win%{1}_%{2}; \
> (cd build_win%{1}_%{2}; \
> %{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
> 'TARGET=quazip-%{2}' ../libquazip; \
> %{mingw%{1}_make} %{?_smp_mflags}; \
> )\
> %{nil}

Ewww!

Sorry to rain on your parade, but are you sure this (and with the fix for 
the nested expansion, it becomes even more ugly) is compatible with the 
"spec files must be legible" packaging guideline?

        Kevin Kofler



More information about the devel mailing list