From 8e83287010e70a3127661c87032a373bd5228492 Mon Sep 17 00:00:00 2001 From: Philippe Makowski Date: Mon, 23 Sep 2013 20:28:55 +0200 Subject: add macros for Python byte compilation --- build.macros.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.macros.in b/build.macros.in index ffba1b9..77f5148 100644 --- a/build.macros.in +++ b/build.macros.in @@ -305,6 +305,8 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o %__os_install_post \ %{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \ %{!?__jar_repack:/usr/lib/rpm/mageia/brp-java-repack-jars} \ + %{!?__brp-python-bytecompile:/usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1} \ + %{!?__brp-python-hardlink:/usr/lib/rpm/brp-python-hardlink} \ %{nil} %__debug_install_post \ -- cgit v1.2.1