areguera / rpms / mailman

Forked from rpms/mailman 5 years ago
Clone

Blame SOURCES/mailman-python-compile.patch

5c2a97
diff --git a/Makefile.in b/Makefile.in
5c2a97
index dc2fc59..45988b4 100644
5c2a97
--- a/Makefile.in
5c2a97
+++ b/Makefile.in
5c2a97
@@ -129,7 +129,7 @@ doinstall: $(SUBDIRS)
5c2a97
 	do \
5c2a97
 	    (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
5c2a97
 	done
5c2a97
-	$(PYTHON) -c 'from compileall import *; compile_dir("$(DESTDIR)$(prefix)/Mailman", ddir="$(prefix)/Mailman")'
5c2a97
+	$(PYTHON) -c 'from compileall import *; compile_dir("$(DESTDIR)$(prefix)/Mailman", 20, "$(prefix)", 1)'
5c2a97
 
5c2a97
 # Only run bin/update if we aren't installing in DESTDIR, as this
5c2a97
 # means there are probably no lists to deal with, and it wouldn't