From b400ea1c652447db401614be6cf50eca80c52fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= Date: Thu, 9 Aug 2018 23:52:38 +0200 Subject: [PATCH] - restructure excludes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- fence-agents.spec | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/fence-agents.spec b/fence-agents.spec index 498a588..bb0f9e3 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -40,6 +40,8 @@ BuildRequires: autoconf automake libtool %prep %setup -q -n %{name}-%{version} %autopatch -p1 +# prevent compilation of something that won't get used anyway +sed -i.orig 's|FENCE_ZVM=|FENCE_ZVM_PREVENTED=|' configure.ac %build ./autogen.sh @@ -75,17 +77,9 @@ Red Hat Fence Agents is a collection of scripts and libraries to handle remote p %doc doc/COPYING.* doc/COPYRIGHT doc/README.licence %{_datadir}/fence %{_datadir}/cluster -%{_datadir}/fence/fencing.py -%{_datadir}/fence/fencing_snmp.py %exclude %{_datadir}/cluster/fence_scsi_check* -%exclude %{_sbindir}/fence_ack_manual -%exclude %{_mandir}/man8/fence_ack_manual.8* -%exclude %{_sbindir}/fence_dummy -%exclude %{_mandir}/man8/fence_dummy.8* -%exclude %{_sbindir}/fence_powerman -%exclude %{_mandir}/man8/fence_powerman.8* -%exclude %{_sbindir}/fence_zvm -%exclude %{_mandir}/man8/fence_zvm.8* +%exclude %{_sbindir}/* +%exclude %{_mandir}/man8/* %package all @@ -880,7 +874,7 @@ The fence-agents-zvm package contains a fence agent for IBM z/VM over IP. %{_mandir}/man8/fence_zvmip.8* %changelog -#- mark non-compiled packages properly as noarch +#- mark non-compiled packages properly as noarch, restructure excludes * Fri Jul 13 2018 Fedora Release Engineering - 4.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild