Ignore arch specific binaries in plugin

This change tells rpmbuilder to not fail the build if arch specific
binaries are included as part of the plugin.  This is helpful if a
plugin wants to include a binary and deploy it via puppet or some other
method that will just copy the file.

Change-Id: Ic3ca86671f0a107b47ab68a54938b6f4040c90b2
Closes-Bug: #1578852
This commit is contained in:
Alex Schultz 2016-05-23 10:56:10 -06:00
parent 82191ca16b
commit 2d41ae9f4e
2 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,10 @@ Group: Development/Libraries
Release: 1
BuildArch: noarch
# This will allow arch binaries to be included as part of the plugin package
# otherwise the build of the plugin fails.
%%define _binaries_in_noarch_packages_terminate_build 0
%%description
${ description }

View File

@ -20,6 +20,10 @@ Release: 1
BuildArch: noarch
AutoReq: no
# This will allow arch binaries to be included as part of the plugin package
# otherwise the build of the plugin fails.
%%define _binaries_in_noarch_packages_terminate_build 0
%%description
${ description }