Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 0ae97b3326fac99e51a47922fc966364 > files > 7

setools-3.3.8-1.mga3.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