summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2013-08-15 01:50:42 -0400
committerNalin Dahyabhai <nalin@dahyabhai.net>2013-08-15 01:50:42 -0400
commit6c46043c16b56179de408f50db1776c07132f5cd (patch)
tree7b1491d867a01845a6c258a85fe739c9cd7eb40c
parentee18500d9bf63fedace5dea8d090156e640e51e3 (diff)
downloadkrb5-6c46043c16b56179de408f50db1776c07132f5cd.tar.gz
krb5-6c46043c16b56179de408f50db1776c07132f5cd.tar.xz
krb5-6c46043c16b56179de408f50db1776c07132f5cd.zip
Do the horrible hostname check _before_ faking it
-rw-r--r--krb5.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/krb5.spec b/krb5.spec
index 0ea68db..f3f587a 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -457,6 +457,13 @@ popd
%{__cc} -fPIC -shared -o noport.so -Wall -Wextra $RPM_SOURCE_DIR/noport.c
%check
+# Alright, this much is still a work in progress.
+%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
+if hostname | grep -q build ; then
+ sleep 600
+fi
+%endif
+
# Set things up to use the test wrappers.
NSS_WRAPPER_HOSTNAME=test.example.com ; export NSS_WRAPPER_HOSTNAME
NSS_WRAPPER_HOSTS="`pwd`/nss_wrapper/fakehosts" ; export NSS_WRAPPER_HOSTS
@@ -468,12 +475,6 @@ LD_PRELOAD=`pwd`/noport.so:`pwd`/nss_wrapper/build/src/libnss_wrapper.so ; expor
# system, but we can at least run more than we used to.
make -C src runenv.py
: make -C src check TMPDIR=%{_tmppath}
-# Alright, this much is still a work in progress.
-%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
-if hostname | grep -q build ; then
- sleep 600
-fi
-%endif
make -C src/lib check TMPDIR=%{_tmppath} OFFLINE=yes
make -C src/kdc check TMPDIR=%{_tmppath}
make -C src/appl check TMPDIR=%{_tmppath}