correct path

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

00:04:12

 
  Push
skipped #2950
rpmbuild
push_rpm
 
Name Stage Failure
failed
build_rpm Build
ERROR   0002: file '/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/pg-0.20.0/ext/pg_ext.so' contains an invalid rpath '/usr/pgsql-9.6/lib' in [/opt/puppetlabs/puppet/lib:/usr/pgsql-9.6/lib]
ERROR 0002: file '/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/pg-0.20.0/lib/pg_ext.so' contains an invalid rpath '/opt/puppetlabs/puppet/lib' in [/opt/puppetlabs/puppet/lib:/usr/pgsql-9.6/lib]
ERROR 0002: file '/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/pg-0.20.0/lib/pg_ext.so' contains an invalid rpath '/usr/pgsql-9.6/lib' in [/opt/puppetlabs/puppet/lib:/usr/pgsql-9.6/lib]
error: Bad exit status from /var/tmp/rpm-tmp.umySbI (%install)
Bad exit status from /var/tmp/rpm-tmp.umySbI (%install)


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