[yast-devel] Re: [yast-commit] <rest-service> master : disable mail packages test
* Ladislav Slezak
ref: refs/heads/master commit e8fd639b667f64026d47ed3594f197add378322b Author: Ladislav Slezak
Date: Fri Oct 16 10:26:20 2009 +0200 disable mail packages test
the packages are missing in hudson build chroot
Ah, thanks for spotting this. A better fix for such cases is the following: - add a "BuildRequires" to the .spec file - surround this BuildRequires with a %if 0 ... %endif - re-enable the test Background: The chroot environment on Hudson is set by 'grep'ping for BuildRequires. So adding appropriate BuildRequires ensures that the packages are available in chroot on Hudson. As we don't want to bloat normal package builds with testing, the "%if 0" will disable the BuildRequires for normal builds. Hth, Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On 16.10.2009 10:32, Klaus Kaempf wrote:
As we don't want to bloat normal package builds with testing, the "%if 0" will disable the BuildRequires for normal builds.
Oh, thanks for the hint, I didn't know that... I'll add BuildRequires and reenable the check... -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Klaus Kaempf
-
Ladislav Slezak