[PATCH] Upstream patch for setup and debian

This commit is contained in:
Dhruvik Mevada
2021-03-19 06:24:23 +00:00
committed by Parthiv Patel
parent 59a3196e8b
commit 89b9b64680
4 changed files with 55 additions and 49 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
#!/bin/sh
set -e
python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python3.7/site-packages/
ABI=$(rpm -q --provides python3 | awk '/abi/ {print $NF}')
python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python${ABI}/site-packages/