Description of problem: RBD-support in scsi-target-utils spec file is disabled (and only enabled on rhel), according to comment in spec file because of missing dependencies in epel 7. I was able to build the package and use the resulting binaries successfully to serve iscsi-targets with rbd storage without adding any external dependencies (other than default centos 7 and epel). Enabling this would help us not having to rebuild and maintain the package locally. Version-Release number of selected component (if applicable): 1.0.55-4 How reproducible: Install CentOS 7 yum install -y epel-release yum install -y yum-utils rpm-build redhat-rpm-config make gcc yumdownloader --source scsi-target-utils rpm -i scsi-target-utils*.src.rpm cd ~/rpmbuild sed -ie 's/%{!?rhel:%global with_rbd 1}/%global with_rbd 1/' SPECS/scsi-target-utils.spec yum install -y libxslt docbook-style-xsl libaio-devel systemd-devel libibverbs-devel librdmacm-devel ceph-devel glusterfs-api-devel rpmbuild -ba SPECS/scsi-target-utils.spec Actual results: Successful build of scsi-target-utils and scsi-target-utils-rbd Expected results: Failed build because of dependencies Additional info: from scsi-target-utils.spec in the source rpm: --snip--- # Disable rbd on epel7 b/c deps are not present %{!?rhel:%global with_rbd 1} ---snip--- Big ty to user frist on stackoverflow http://stackoverflow.com/users/5648958/frist for providing info on how to compile. http://stackoverflow.com/questions/35453153/how-to-enable-support-for-ceph-in-centos-scsi-target-utils-package
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.