summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/qemu-accel-aarch64.spec2
-rw-r--r--packaging/qemu-accel-armv7l.spec2
-rw-r--r--packaging/qemu-accel.spec.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index 5d56dc9..c9b387f 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -224,7 +224,7 @@ 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
+ln -sf %{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
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 3161c33..ab51aee 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -224,7 +224,7 @@ 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
+ln -sf %{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
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index c9bd284..8468718 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -221,7 +221,7 @@ 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
+ln -sf %{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