Basin Ilya <basinilya@xxxxxxxxx> writes: > It's commonly advised that if .spec file doesn't support `--without > check`, then to skip the check phase run rpmbuild with `--define 'check > exit 0'`. I don't know who would commonly advise that, because... it doesn't work in general. It just appends "exit 0" to whatever section happens to come before the %check section. If another RPM macro also appends commands to that section, like %spec_install_post does, then.... those commands don't get run. > Is it possible to skip the check without breaking generation of > debugfiles.list and without editing the .spec file? I'm pretty sure there's a deeply magical way to do this, involving defining %check to "cat << XXX" and then redefining %spec_install_post to something that prefixes the current value with XXX. Enterprising people can probably come up with something slightly cleaner. - J< -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx