areguera / rpms / mailman

Forked from rpms/mailman 5 years ago
Clone

Blame SOURCES/mailman-python-compile.patch

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