1.1.13-2.rev13: simplify python bytecompile disabling
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
a261b17ec3
commit
30d5ea9fca
@ -2,14 +2,19 @@
|
||||
%global uname hacluster
|
||||
%global pcmk_docdir %{_docdir}/%{name}
|
||||
|
||||
%global specversion 2.rev12
|
||||
%global specversion 2.rev13
|
||||
%global commit 6052cd16c2f455809f8088af76ce86483bf98353
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global github_owner ClusterLabs
|
||||
|
||||
# Turn off the auto compilation of python files not in the site-packages directory
|
||||
# Needed so that the -devel package is multilib compliant
|
||||
# py_auto_byte_compile macro: https://bugzilla.redhat.com/574437
|
||||
%if %{defined py_auto_byte_compile}
|
||||
%undefine py_auto_byte_compile
|
||||
%else
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||
%endif
|
||||
|
||||
%global rawhide %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
|
||||
%global cs_version %(pkg-config corosync --modversion | awk -F . '{print $1}')
|
||||
|
Loading…
Reference in New Issue
Block a user