59241484_an_RPM_package___FedoraProject__Reads
[Stage] %check [Writes] %_builddir [Action] Check that the software works properly. This is often implemented by running some variation of "make test". Many packages don't implement this stage. [Reads] 
%_builddir
% _ s o u r c e d i r
% _ b u i l d d i r
% _ b u i l d r o o t d i r
How to create an RPM package - FedoraProject