On Fri, 2005-03-18 at 23:47 +0100, Enrico Scholz wrote: > shiva@xxxxxxxxxxxxxxx (Kenneth Porter) writes: > > >> Please use %check for such tests. This makes it easy, to bypass them > >> with '--define check\ exit\ 0'; %build or %install would require manual > >> editing of the .spec-file > > > > What is %check? A standard macro? A standard build stage? > > A build stage which will be executed after %install. > > > > Or something new? (I don't recall seeing it mentioned in Maximum RPM.) > > It exists for a while already but was added after Maximum RPM. In rpm 4.2, that is. Anyway, it has been described in the max-rpm CVS snapshot for some time: http://rpm-devel.colug.net/max-rpm/s1-rpm-specref-scripts.html#S3-RPM-SPECREF-CHECK