Browse Source

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
Alex Schultz 2 years ago
parent
commit
2d41ae9f4e

+ 4
- 0
fuel_plugin_builder/templates/v2/build/plugin_rpm.spec.mako View File

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

+ 4
- 0
fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako View File

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

Loading…
Cancel
Save