[shogun/el5] build-action for Python3 goes in %%{py3dir}/build

Björn Esser besser82 at fedoraproject.org
Mon Feb 24 11:53:38 UTC 2014


commit bdff08b90d55c61980313908a3be510d0e2e52de
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Mon Feb 24 12:53:54 2014 +0100

    build-action for Python3 goes in %%{py3dir}/build

 shogun.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/shogun.spec b/shogun.spec
index 209f948..2886792 100644
--- a/shogun.spec
+++ b/shogun.spec
@@ -730,7 +730,7 @@ export PYTHONPATH="${PYTHONPATH}:`pwd`/test_install/%{python3_sitearch}"
 export PYTHONPATH="${PYTHONPATH}:$(pwd)/examples/undocumented/python_modular"
 export PYTHONPATH="${PYTHONPATH}:%{python3_sitearch}:%{python3_sitelib}"
 
-pushd %{py3dir}
+pushd %{py3dir}/build
 %cmake										\
 		-DCMAKE_BUILD_TYPE=Distribution					\
 %if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
@@ -774,7 +774,7 @@ popd
 export CUSTOM_INSTALL_DIR="`pwd`/test_install/"
 # Install the Python3-version first.
 %if 0%{?with_python3}
-pushd %{py3dir}
+pushd %{py3dir}/build
 make install DESTDIR=${CUSTOM_INSTALL_DIR}
 popd
 %endif #0%{?with_python3}
@@ -863,7 +863,7 @@ ctest										\
 popd
 
 %if 0%{?with_python3}
-pushd %{py3dir}
+pushd %{py3dir}/build
 # Unit && integration tests -- usual testsuite.
 ctest										\
 	--exclude-regex "${EXCLUDE_FROM_TESTS}"					\


More information about the scm-commits mailing list