18 lines
806 B
Diff
18 lines
806 B
Diff
|
Index: setools-3.3.6/python/setools/Makefile.am
|
||
|
===================================================================
|
||
|
--- setools-3.3.6.orig/python/setools/Makefile.am
|
||
|
+++ setools-3.3.6/python/setools/Makefile.am
|
||
|
@@ -25,10 +25,10 @@ python-build: sesearch.c seinfo.c
|
||
|
LIBS="$(QPOL_LIB_FLAG) $(APOL_LIB_FLAG)" INCLUDES="$(QPOL_CFLAGS) $(APOL_CFLAGS)" $(PYTHON) setup.py build
|
||
|
|
||
|
install-exec-hook:
|
||
|
- $(PYTHON) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
|
||
|
+ $(PYTHON) setup.py install --prefix=/usr `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
|
||
|
|
||
|
uninstall-hook:
|
||
|
- $(PYTHON) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
|
||
|
+ $(PYTHON) setup.py uninstall --prefix=usr `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
|
||
|
|
||
|
clean-local:
|
||
|
$(PYTHON) setup.py clean -a
|