From 13cbc25294142ac1a1eeb7419dabc702a212972d Mon Sep 17 00:00:00 2001 From: Philippe Makowski Date: Wed, 25 Sep 2013 22:23:15 +0200 Subject: Set valid macros names for Python byte compilation --- build.macros.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index 6c5d720..d0e473a 100644 --- a/build.macros.in +++ b/build.macros.in @@ -305,8 +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:[ %{?_python_bytecompile_build} -eq 1 ] && /usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build}} \ - %{!?__brp-python-hardlink:/usr/lib/rpm/brp-python-hardlink} \ + %{!?__brp_python_bytecompile:[ %{?_python_bytecompile_build} -eq 1 ] && /usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build}} \ + %{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \ %{nil} %__debug_install_post \ -- cgit v1.2.1