[krb5] Do the horrible hostname check _before_ faking it
Nalin Dahyabhai
nalin at fedoraproject.org
Thu Aug 15 06:15:42 UTC 2013
commit 6c46043c16b56179de408f50db1776c07132f5cd
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date: Thu Aug 15 01:50:42 2013 -0400
Do the horrible hostname check _before_ faking it
krb5.spec | 13 +++++++------
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}
More information about the scm-commits
mailing list