1 2 3 4 5 6 7 8 9 10 11 12 13
|
Index: selinux-python-3.9/sepolicy/Makefile
===================================================================
--- selinux-python-3.9.orig/sepolicy/Makefile
+++ selinux-python-3.9/sepolicy/Makefile
@@ -27,7 +27,7 @@ test:
@$(PYTHON) test_sepolicy.py -v
install:
- $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
+ PIP_NO_INDEX=1 $(PYTHON) -m pip install --ignore-installed --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --no-build-isolation --no-deps $(PYTHON_SETUP_ARGS) .
[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy
(cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen)
|