aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2022-04-10 18:05:07 +0300
committerJani Välimaa <wally@mageia.org>2022-04-10 18:05:07 +0300
commit45d530437342c286fd3c73444894facc3e408113 (patch)
tree7f2f42b94150f1e24743cbc8e24435b6614126f3
parentdf4ef8b25b68d33afaff2d354201e82bf28421de (diff)
downloadrpm-setup-45d530437342c286fd3c73444894facc3e408113.tar
rpm-setup-45d530437342c286fd3c73444894facc3e408113.tar.gz
rpm-setup-45d530437342c286fd3c73444894facc3e408113.tar.bz2
rpm-setup-45d530437342c286fd3c73444894facc3e408113.tar.xz
rpm-setup-45d530437342c286fd3c73444894facc3e408113.zip
build.macros: remove macro definitions living in python-rpm-macros
- py_auto_byte_compile - _python_bytecompile_errors_terminate_build - _python_bytecompile_extra
-rw-r--r--NEWS5
-rw-r--r--build.macros.in12
2 files changed, 5 insertions, 12 deletions
diff --git a/NEWS b/NEWS
index 6348989..a3b5fdd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+- build.macros: remove macro definitions living in python-rpm-macros
+ - py_auto_byte_compile
+ - _python_bytecompile_errors_terminate_build
+ - _python_bytecompile_extra
+
Version 2.64 - 10 April 2022, by Jani Välimaa
- build.macros: use %__os_install_post_python in %__os_install_post
diff --git a/build.macros.in b/build.macros.in
index e1c0f5a..fb33f5f 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -460,18 +460,6 @@ fi
# Should missing buildids terminate a build?
%_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 outside python specific directories?
-%_python_bytecompile_extra 0
-
# Use SHA-256 for FILEDIGESTS instead of default MD5
%_source_filedigest_algorithm 8
%_binary_filedigest_algorithm 8