Defining source and build directories

Build systems that support defining source/build directories via RPM macros:

Macros:

%_vpath_srcdir

Path (relative to the RPM build directory) where the sources to be built are located (default: .).

%_vpath_builddir

Path (relative to the RPM build directory) where the built objects are located (default: %{_target_platform}).