aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--build.macros.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1ffda0b..28f000d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- add __brp_mangle_shebangs in order to fix /bin -> /usr/bin & "env foobar"
+- automatically compile python files
Version 2.35 - 24 September 2018, by Thierry Vignaud
diff --git a/build.macros.in b/build.macros.in
index e37e157..1db4757 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -474,6 +474,10 @@ fi
%_missing_build_ids_terminate_build 1
#
+## Automatically compile python files
+%py_auto_byte_compile 1
+
+#
## Should python bytecompilation errors terminate a build?
%_python_bytecompile_errors_terminate_build 1
## Should python bytecompilation compile outisde python specific directories?