> I faced some difficulties. For some reason I need to add
> --exec-prefix=/ to %configure. Firstly, I did it in he trivial way:
Sure that should be --exec-prefix= instead. You can try redefining
the _exec_prefix macro in the spec:
%define _exec_prefix %{nil}
%configure