summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonghee Han <onstudy@samsung.com>2016-07-22 15:06:30 +0900
committerYonghee Han <onstudy@samsung.com>2016-07-22 15:30:10 +0900
commita24d2562fd8df45b3a91468c5f24e85b1474e12d (patch)
tree2c95b724714f1d05ad5b7107e2cbb4abdd6307ef
parent51699202ffcd20f38654ffc0e31a8a25c8d7cb69 (diff)
downloadqemu-accel-a24d2562fd8df45b3a91468c5f24e85b1474e12d.tar.gz
qemu-accel-a24d2562fd8df45b3a91468c5f24e85b1474e12d.tar.bz2
qemu-accel-a24d2562fd8df45b3a91468c5f24e85b1474e12d.zip
packaging : Support Scons symlinks to accelerate the buildsubmit/tizen_base/20160726.082820accepted/tizen/base/20160805.171251
Change-Id: Iaa0851b4da54d1317168fee52858c0245c649968
-rw-r--r--packaging/qemu-accel-aarch64.spec3
-rw-r--r--packaging/qemu-accel-armv7l.spec3
-rw-r--r--packaging/qemu-accel.spec.in3
3 files changed, 9 insertions, 0 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index 366311c..1b5d2ec 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -220,6 +220,9 @@ chmod +x %{buildroot}%{our_path}%{_bindir}/python${python_version}
ln -s python${python_version} %{buildroot}%{our_path}%{_bindir}/python
ln -s python${python_version} %{buildroot}%{our_path}%{_libdir}/python
+#create symlinks for Scons
+ln -s %{_libdir}/python${python_version}/site-packages/SCons %{buildroot}%{our_path}%{_libdir}/python${python_version}/site-packages/SCons
+
# rpmlint acceleration
mkdir -p %{buildroot}%{our_path}/opt/testing/bin
cp %{buildroot}%{our_path}%{_bindir}/python${python_version}.orig %{buildroot}%{our_path}/opt/testing/bin/
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 6c3100f..d7fa812 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -220,6 +220,9 @@ chmod +x %{buildroot}%{our_path}%{_bindir}/python${python_version}
ln -s python${python_version} %{buildroot}%{our_path}%{_bindir}/python
ln -s python${python_version} %{buildroot}%{our_path}%{_libdir}/python
+#create symlinks for Scons
+ln -s %{_libdir}/python${python_version}/site-packages/SCons %{buildroot}%{our_path}%{_libdir}/python${python_version}/site-packages/SCons
+
# rpmlint acceleration
mkdir -p %{buildroot}%{our_path}/opt/testing/bin
cp %{buildroot}%{our_path}%{_bindir}/python${python_version}.orig %{buildroot}%{our_path}/opt/testing/bin/
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index ee546d6..f9df080 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -217,6 +217,9 @@ chmod +x %{buildroot}%{our_path}%{_bindir}/python${python_version}
ln -s python${python_version} %{buildroot}%{our_path}%{_bindir}/python
ln -s python${python_version} %{buildroot}%{our_path}%{_libdir}/python
+#create symlinks for Scons
+ln -s %{_libdir}/python${python_version}/site-packages/SCons %{buildroot}%{our_path}%{_libdir}/python${python_version}/site-packages/SCons
+
# rpmlint acceleration
mkdir -p %{buildroot}%{our_path}/opt/testing/bin
cp %{buildroot}%{our_path}%{_bindir}/python${python_version}.orig %{buildroot}%{our_path}/opt/testing/bin/