diff options
author | Doesnot Matter <you@example.com> | 2022-05-26 12:01:59 +0200 |
---|---|---|
committer | Doesnot Matter <you@example.com> | 2022-05-26 12:24:41 +0200 |
commit | 25327d14f68fdfe4e3c033372878baaf74dea1e5 (patch) | |
tree | c935f9967b7f48275831ca30d1c01324d2dc08d3 | |
parent | 14ea4818664be907fa300806e424997ad7549e37 (diff) |
smoke-rpm: Avoid deprecated distutils
-rwxr-xr-x | debian/tests/smoke-rpm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/tests/smoke-rpm b/debian/tests/smoke-rpm index b3481609..90598a28 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 distutils.sysconfig import get_python_lib; print(get_python_lib())")' \ + -D'%python_sitelib %(%{__python3} -Ic "from sysconfig import get_path; print(get_path('"'platlib'"'))")' \ -D'%_arch noarch' \ -bb --nodeps fi |