diff --git a/fence-agents.spec b/fence-agents.spec index 91c0848..8c6bab3 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -109,11 +109,10 @@ sed -i.orig 's|FENCE_ZVM=|FENCE_ZVM_PREVENTED=|' configure.ac %build ./autogen.sh -export PYTHON="/usr/bin/python3" %{configure} +export PYTHON="%{__python3}" %{configure} CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags} %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} # bytecompile Python source code in a non-standard location %py_byte_compile %{__python3} %{buildroot}%{_datadir}/fence @@ -954,6 +953,7 @@ The fence-agents-zvm package contains a fence agent for IBM z/VM over IP. #- sanitize allfenceagents internally defined enumeration #- sanitize BuildRequires with respect to packaging guidelines #- bytecompile native Python modules and ship these bytecodes properly +#- only refer to Python binary symbolically, drop buildroot cleanup * Fri Jul 13 2018 Fedora Release Engineering - 4.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild