File python_prefix.patch of Package java-1_5_0-gcj-compat

--- aot-compile
+++ aot-compile
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 ## Copyright (C) 2006, 2008 Red Hat, Inc.
 ## Written by Gary Benson <gbenson@redhat.com>
--- aot-compile-rpm
+++ aot-compile-rpm
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 ## Copyright (C) 2005, 2006, 2007 Red Hat, Inc.
 ## Written by Gary Benson <gbenson@redhat.com>
--- Makefile.am
+++ Makefile.am
@@ -47,7 +47,7 @@
 	else \
 	  ln -sf $(srcdir)/classfile.py classfile.py ; \
 	fi
-	python setup.py install --prefix=$(DESTDIR)$(prefix)
+	python3 setup.py install --root=$(DESTDIR) --prefix=$(prefix)
 
 uninstall-local:
 	rm -f $(DESTDIR)$(libdir)/python2.5/site-packages/aotcompile.py
openSUSE Build Service is sponsored by