aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2018-08-05 19:33:30 +0300
committerJani Välimaa <wally@mageia.org>2018-08-05 19:33:30 +0300
commitd5db07694da6e145654bd566d4359695379e53c9 (patch)
treee26ba3d8f678da0cab3317254e4e7ef89ec34d59 /build.macros.in
parentaf9d0c4168033f3556f1c8116ecde4dd672a98e4 (diff)
downloadrpm-setup-d5db07694da6e145654bd566d4359695379e53c9.tar
rpm-setup-d5db07694da6e145654bd566d4359695379e53c9.tar.gz
rpm-setup-d5db07694da6e145654bd566d4359695379e53c9.tar.bz2
rpm-setup-d5db07694da6e145654bd566d4359695379e53c9.tar.xz
rpm-setup-d5db07694da6e145654bd566d4359695379e53c9.zip
build.macros: fix python bytecompile in __os_instal_post as __brp_python_bytecompile is now defined by rpm upstream
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index 3dfaea8..3b82f77 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -289,7 +289,7 @@ fi
%__os_install_post \
%{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \
- %{!?__brp_python_bytecompile:[ %{?_python_bytecompile_build} -eq 1 ] && /usr/lib/rpm/brp-python-bytecompile %{__python} %{?_python_bytecompile_errors_terminate_build}} \
+ %{?__brp_python_bytecompile}
%{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \
%{nil}