areguera / rpms / mailman

Forked from rpms/mailman 5 years ago
Clone

Blame SOURCES/mailman-python-compile.patch

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