diff options
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel.spec | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index 8dc1b5f..ab69736 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -83,7 +83,7 @@ This package is used in qemu-accel to accelerate python. set +x gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec -python_version=`python --version |& sed -ne '1s/.* //p' | head -c 3` +python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` binaries="%{_libdir}/libnsl.so.1 %{_libdir}/libnss_compat.so.2" # loaded via dlopen by glibc %ifarch %ix86 diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 6c2d99a..2ee1bbc 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -83,7 +83,7 @@ This package is used in qemu-accel to accelerate python. set +x gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec -python_version=`python --version |& sed -ne '1s/.* //p' | head -c 3` +python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` binaries="%{_libdir}/libnsl.so.1 %{_libdir}/libnss_compat.so.2" # loaded via dlopen by glibc %ifarch %ix86 diff --git a/packaging/qemu-accel.spec b/packaging/qemu-accel.spec index ef32777..d11f57c 100644 --- a/packaging/qemu-accel.spec +++ b/packaging/qemu-accel.spec @@ -80,7 +80,7 @@ This package is used in qemu-accel to accelerate python. set +x gcc_version=`gcc --version | sed -ne '1s/[^0-9]*\(\([0-9]\.\?\)*\).*/\1/p'` # just like it is determided in python.spec -python_version=`python --version |& sed -ne '1s/.* //p' | head -c 3` +python_version=`python --version 2>&1 | sed -ne '1s/.* //p' | head -c 3` binaries="%{_libdir}/libnsl.so.1 %{_libdir}/libnss_compat.so.2" # loaded via dlopen by glibc %ifarch %ix86 |