- BuildRequire hostname: the test suite wants to compare the output
of 'hostname' against 'busybox hostname'. We should not rely
hostname to be present in the build environment.
test x$(hostname -i) = x$(busybox hostname -i)
test x$(hostname -s) = x$(busybox hostname -s)
test x$(hostname) = x$(busybox hostname)
As such, the spec file should specify that it needs hostname (so far it was installed as support package in all builds, but OBS actually no longer requires that to set proper hostnames and has different tricks; so hostname is dropped as support package
- BuildRequire hostname: the test suite wants to compare the output
of 'hostname' against 'busybox hostname'. We should not rely
hostname to be present in the build environment.
The test suite does:
As such, the spec file should specify that it needs hostname (so far it was installed as support package in all builds, but OBS actually no longer requires that to set proper hostnames and has different tricks; so hostname is dropped as support package