* Ladislav Slezak <[email protected]> [Oct 16. 2009 10:27]:
> ref: refs/heads/master
> commit e8fd639b667f64026d47ed3594f197add378322b
> Author: Ladislav Slezak <[email protected]>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to