areguera / rpms / mailman

Forked from rpms/mailman 4 years ago
Clone

Blame SOURCES/mailman-python-compile.patch

e7a395
diff -ruN mailman-2.1.12-a/Makefile.in mailman-2.1.12-b/Makefile.in
e7a395
--- mailman-2.1.12-a/Makefile.in	2009-07-28 12:19:49.000000000 +0200
e7a395
+++ mailman-2.1.12-b/Makefile.in	2009-07-28 12:19:49.000000000 +0200
e7a395
@@ -146,7 +146,7 @@
e7a395
 	do \
e7a395
 	    (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
e7a395
 	done
e7a395
-	$(PYTHON) -c 'from compileall import *; compile_dir("$(DESTDIR)$(prefix)/Mailman")'
e7a395
+	$(PYTHON) -c 'from compileall import *; compile_dir("$(DESTDIR)$(prefix)", 20, "$(prefix)", 1)'
e7a395
 
e7a395
 # Only run bin/update if we aren't installing in DESTDIR, as this
e7a395
 # means there are probably no lists to deal with, and it wouldn't