Issue related to [`share_prefix=%{_prefix}`](https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/kamailio.s...) options of `make cfg` When this options is not used then `make install` command is executed properly but later packaging is failed by `rpath` check error. ``` + /usr/lib/rpm/check-buildroot Binary file /home/build/rpmbuild/BUILDROOT/kamailio-5.2.0-0.el7.centos.x86_64/usr/lib64/kamailio/modules/db_redis.so matches Found '/home/build/rpmbuild/BUILDROOT/kamailio-5.2.0-0.el7.centos.x86_64' in installed files; aborting error: Bad exit status from /var/tmp/rpm-tmp.BKXKDY (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BKXKDY (%install) [build@node0 SPECS]$ ``` As options we can disable build of `db_redis` and delete `share_prefix=%{_prefix}` options of `make cfg`