use different gems for different platforms

2 jobs for master in 4 minutes and 51 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
failed #6513
rpmbuild
build_rpm

00:04:51

 
  Push
skipped #6514
rpmbuild
push_rpm
 
Name Stage Failure
failed
build_rpm Build
*******************************************************************************
ERROR 0002: file '/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/ed25519-1.2.4/ed25519_ref10.so' contains an invalid rpath '/opt/puppetlabs/puppet/lib' in [/opt/puppetlabs/puppet/lib]
ERROR 0002: file '/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/sha3-1.0.1/sha3_n.so' contains an invalid rpath '/opt/puppetlabs/puppet/lib' in [/opt/puppetlabs/puppet/lib]
error: Bad exit status from /var/tmp/rpm-tmp.79FCE0 (%install)
Bad exit status from /var/tmp/rpm-tmp.79FCE0 (%install)


RPM build errors:
ERROR: Job failed: exit code 1