projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ea481
)
smoke-rpm: Avoid deprecated distutils
author
Doesnot Matter
<you@example.com>
Thu, 26 May 2022 10:01:59 +0000
(12:01 +0200)
committer
Doesnot Matter
<you@example.com>
Thu, 26 May 2022 10:24:41 +0000
(12:24 +0200)
debian/tests/smoke-rpm
patch
|
blob
|
history
diff --git
a/debian/tests/smoke-rpm
b/debian/tests/smoke-rpm
index b34816098c89730442dc55c13b55a519e69ae476..90598a289e49474ffedd49bebd5feb6da2af4177 100755
(executable)
--- 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