(In reply to Vitaly Zaitsev from comment #7) > > Try patching the file to this (untested) > > cc: error: $(RPM_OPT_FLAGS): No such file or directory > c++: error: $(RPM_OPT_FLAGS): No such file or directory > c++: error: $(RPM_LD_FLAGS): No such file or directory Try removing the brackets from them edit $(RPM_OPT_FLAGS) to $RPM_OPT_FLAGS