aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorPhilippe Makowski <philippem@mageia.org>2013-09-23 20:28:55 +0200
committerPhilippe Makowski <philippem@mageia.org>2013-09-23 20:28:55 +0200
commit8e83287010e70a3127661c87032a373bd5228492 (patch)
tree23c94cb5f8cd8110404fb255fb27b41d60e4d300 /build.macros.in
parentfd3fb4e09a2bf1c961ccf85cee067b2a75e4ada8 (diff)
downloadrpm-setup-8e83287010e70a3127661c87032a373bd5228492.tar
rpm-setup-8e83287010e70a3127661c87032a373bd5228492.tar.gz
rpm-setup-8e83287010e70a3127661c87032a373bd5228492.tar.bz2
rpm-setup-8e83287010e70a3127661c87032a373bd5228492.tar.xz
rpm-setup-8e83287010e70a3127661c87032a373bd5228492.zip
add macros for Python byte compilation
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 2 insertions, 0 deletions
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 \