Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 024311f089823354f1214fb2373ebc82 > files > 20

setools-3.3.8-15.mga6.src.rpm

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