File policycoreutils-setup_py-prefix.patch of Package policycoreutils

Index: semanage/default_encoding/Makefile
===================================================================
--- semanage/default_encoding/Makefile.orig
+++ semanage/default_encoding/Makefile
@@ -2,7 +2,7 @@ all:
 	LDFLAGS="" python setup.py build
 
 install: all
-	LDFLAGS="" python setup.py install --root=$(DESTDIR)/
+	LDFLAGS="" python setup.py install --prefix=/usr --root=$(DESTDIR)/
 
 clean:
 	rm -rf build *~
openSUSE Build Service is sponsored by