From e2d2c7d7f2bed653d0ff920f88ae579394eef4f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= Date: Tue, 14 Aug 2018 18:13:36 +0200 Subject: [PATCH] - only refer to Python binary symbolically, drop buildroot cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regarding the latter: https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections https://en.opensuse.org/openSUSE:Specfile_guidelines#Removing_the_buildroot Signed-off-by: Jan Pokorný --- fence-agents.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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