diff options
author | HyungGi Lee <hyunggi.lee@samsung.com> | 2015-12-30 11:00:06 +0900 |
---|---|---|
committer | Dongkyun, Son <dongkyun.s@samsung.com> | 2016-01-09 18:47:47 +0900 |
commit | a3a0e0a7b31be5c6bbe1be4c62f2ce620f791825 (patch) | |
tree | 1fdc4e5d8a911793fb54e0320f0cfc8113774d39 /packaging/qemu-accel-aarch64.spec | |
parent | 1353f214398cbd1f3cc04c7888d25077f3e458b6 (diff) | |
download | qemu-accel-a3a0e0a7b31be5c6bbe1be4c62f2ce620f791825.tar.gz qemu-accel-a3a0e0a7b31be5c6bbe1be4c62f2ce620f791825.tar.bz2 qemu-accel-a3a0e0a7b31be5c6bbe1be4c62f2ce620f791825.zip |
change python_version check routine
Change-Id: Id50936196d559aaa3bfa9176ea580fe213f7c2a0
Signed-off-by: HyungGi Lee <hyunggi.lee@samsung.com>
Diffstat (limited to 'packaging/qemu-accel-aarch64.spec')
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 2 |
1 files changed, 1 insertions, 1 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 |