XrootD and XrdCeph are compiled seperately to generate their respective rpms:
Prerequisites (SL7): devtoolset-9
See:
installing without aquilon:
https://wiki.e-science.cclrc.ac.uk/web1/bin/view/EScienceInternal/NoAquilonXrootdInstallationAndSetup
with aquilon:
build with a dev personality (ceph-gw-echo-dev)
XrootD
git clone https://github.com/stfc/xrootd.git -b <your_branch>
cd xrootd/packaging
./makesrpm.sh --version 5.5.4-00 --define "_with_python3 1" --define "_with_tests 1" --define "_with_scitokens 1" -D "dist .el7"
cd to the output directory (said in the last ~5 lines of the output)
mkdir RPMS
rpmbuild --rebuild --define "_rpmdir RPMS/" --define "_with_python3 1" --define "_with_scitokens 1" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" -D "dist .el7" *.src.rpm
XrdCeph
git clone https://github.com/stfc/xrootd.git -b <your_branch>
cd xrootd-ceph/packaging
./makesrpm.sh --output <outputdir> --version <version>
cd <outputdir>
rpm2cpio xrootd-ceph-<version>.el7.src.rpm | cpio -imdv --no-absolute-filenames
If needing to change the name of the rpm, edit xrootd-ceph.spec, line 41 (under package definition) and set the name to your desired one
rpmbuild -ba xrootd-ceph.spec --define "_rpmdir <output dir>"