[opensuse-buildservice] disable %check in local build
"osc build --nochecks" does still execute the %check section, how can this be disabled without editing the spec file? Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Olaf Hering <olaf@aepfle.de> writes:
"osc build --nochecks"
This has nothing to do with %check. RTFM: --nochecks, --no-checks Do not run post build checks on the resulting packages.
does still execute the %check section, how can this be disabled without editing the spec file?
rpmbuild --nocheck Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 3. März 2014, 10:29:33 wrote Andreas Schwab:
Olaf Hering <olaf@aepfle.de> writes:
"osc build --nochecks"
This has nothing to do with %check.
RTFM:
--nochecks, --no-checks Do not run post build checks on the resulting packages.
does still execute the %check section, how can this be disabled without editing the spec file?
rpmbuild --nocheck
yes, but the build script is not handing this parameter to rpmbuild atm. I will fix that ... -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Adrian Schröter <adrian@suse.de> writes:
On Montag, 3. März 2014, 10:29:33 wrote Andreas Schwab:
Olaf Hering <olaf@aepfle.de> writes:
"osc build --nochecks"
This has nothing to do with %check.
RTFM:
--nochecks, --no-checks Do not run post build checks on the resulting packages.
does still execute the %check section, how can this be disabled without editing the spec file?
rpmbuild --nocheck
yes, but the build script is not handing this parameter to rpmbuild atm.
I will fix that ...
osc --nochecks should not suppress %check, that's not what it's for. If you want to pass arbitrary arguments to rpmbuild that should be a separate option. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 3. März 2014, 10:53:09 wrote Andreas Schwab:
Adrian Schröter <adrian@suse.de> writes:
On Montag, 3. März 2014, 10:29:33 wrote Andreas Schwab:
Olaf Hering <olaf@aepfle.de> writes:
"osc build --nochecks"
This has nothing to do with %check.
RTFM:
--nochecks, --no-checks Do not run post build checks on the resulting packages.
does still execute the %check section, how can this be disabled without editing the spec file?
rpmbuild --nocheck
yes, but the build script is not handing this parameter to rpmbuild atm.
I will fix that ...
osc --nochecks should not suppress %check, that's not what it's for. If you want to pass arbitrary arguments to rpmbuild that should be a separate option.
not sure if I agree here. Just creating even more options will not make it more usable. Esp. since the "osc build" option is called exactly what people may be used from using plain rpmbuild. -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Adrian Schröter <adrian@suse.de> writes:
Esp. since the "osc build" option is called exactly what people may be used from using plain rpmbuild.
Just like osc build --clean and rpmbuild --clean are completely different. There has never been an overlap between osc build options and rpmbuild options. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Andreas Schwab
-
Olaf Hering