rpm -bi --short-circuit also does check
Bug #634104 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Fix Released
|
Low
|
devzero2000 | ||
Mandriva |
Unknown
|
Medium
|
Bug Description
tracker
Changed in mandriva: | |
status: | Unknown → In Progress |
Changed in mandriva: | |
importance: | Unknown → Medium |
Changed in mandriva: | |
status: | In Progress → Unknown |
Changed in rpm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The rpmbuild state machine is a linear sequence of
steps leading to a "reproducible build" which
ends up producing *.rpm packages.
The %check stage was added after %prep/% build/% check/% clean
and was not wired into the rpmbuild options largely because
that might have caused incompatibilities.
Its still not clear whether adding %check like %prep/% build/% install
is more gain than pain.
No matter what: %check most definitely should be run by
rpmbuild -bi --short-circuit
What is typically done to disable %check is to overload
the section marker as a macro to do an exit 0. E.g. in
some macro file that is loaded:
%check %%check \
exit 0
or (from the CLI) adding
--define 'check exit 0'