blob: 5ca6a7012155dea039f7cbeee119d5e537a43126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Use eclass functions to install under PEP517
Patch to ensure failure if the change fails to apply.
--- a/sepolicy/Makefile
+++ b/sepolicy/Makefile
@@ -27,7 +27,6 @@ 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) .
[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy
(cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen)
|