registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #14431
[Bug 634104] Re: rpm -bi --short-circuit also does check
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'
** Tags added: mandriva rpmbuild
** Changed in: rpm
Status: New => Triaged
** Changed in: rpm
Importance: Undecided => Low
--
rpm -bi --short-circuit also does check
https://bugs.launchpad.net/bugs/634104
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Mandriva.
References