aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2022-09-29 13:10:19 +0200
committerGuido Günther <agx@sigxcpu.org>2022-09-29 16:27:58 +0200
commitccbb64b0cc020738ff21db8f0c57487219179f46 (patch)
treea246cb50e951fe05d6ed1606a517779e02b58420
parent2f463b9a44e662bbf568e4c7e56fda28e43c6de0 (diff)
Specify a sysconfig scheme in smoke-rpm
Debian uses the posix_local scheme by default, since Python 3.10, causing the rpm to be built with the incorrect layout.
-rwxr-xr-xdebian/tests/smoke-rpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/tests/smoke-rpm b/debian/tests/smoke-rpm
index 90598a28..b7694d1e 100755
--- a/debian/tests/smoke-rpm
+++ b/debian/tests/smoke-rpm
@@ -25,7 +25,7 @@ if python3 -c "import setuptools"; then
--git-export-dir="$GBP_TEMPDIR" \
-D'%__python3 /usr/bin/python3' \
-D'%__python /usr/bin/python3' \
- -D'%python_sitelib %(%{__python3} -Ic "from sysconfig import get_path; print(get_path('"'platlib'"'))")' \
+ -D'%python_sitelib %(%{__python3} -Ic "from sysconfig import get_path; print(get_path('"'platlib'"', '"'posix_prefix'"'))")' \
-D'%_arch noarch' \
-bb --nodeps
fi