diff options
Diffstat (limited to 'qpid')
-rw-r--r-- | qpid/cpp/Makefile.am | 2 | ||||
-rwxr-xr-x | qpid/cpp/src/tests/python_tests | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/Makefile.am b/qpid/cpp/Makefile.am index a97020c701..7d128e557b 100644 --- a/qpid/cpp/Makefile.am +++ b/qpid/cpp/Makefile.am @@ -30,7 +30,7 @@ clean-local: rpmbuild: $(SPEC) dist-gzip mkdir -p $(RPMDIRS) - rpmbuild $(RPMMACROS) $(RPMOPTS) $(SPEC) + QPID_PYTHON_DIR=$(abs_top_srcdir)/../python rpmbuild $(RPMMACROS) $(RPMOPTS) $(SPEC) if HAS_RPMLINT rpmlint `find rpm -name '*.rpm'` else diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests index e4b70f5ff5..553c5f4cdb 100755 --- a/qpid/cpp/src/tests/python_tests +++ b/qpid/cpp/src/tests/python_tests @@ -3,7 +3,7 @@ QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} MY_DIR=$(dirname $(which $0)) -PYTHON_DIR=${MY_DIR}/../../../python +PYTHON_DIR=${QPID_PYTHON_DIR:-${MY_DIR}/../../../python} run() { SPEC=$1 |