RE: rdma-core rpm for SuSE
From: Amrani, Ram <hidden>
Date: 2017-08-03 19:08:34
On Thu, 2017-08-03 at 13:35 +0200, Johannes Thumshirn wrote:quoted
On Thu, Aug 03, 2017 at 11:12:18AM +0000, Amrani, Ram wrote:quoted
Hi Jason, I see folders with rpm creating scripts for Debian and Red Hat. How is a SuSE rpm generated?Please have a look at: https://build.opensuse.org/package/show/science:HPC/rdma-coreHello Johannes, Sorry but my opinion is that users should not have to rely on out-of-tree patches to build an rdma-core RPM for SuSE systems. BTW, the script that I use myself to build a SuSE rdma-core RPM is as follows: #!/bin/bash rpmtopdir=$PWD/rpmbuilddir name=rdma-core version=$(sed -n 's/^Version:[[:blank:]]*//p' rdma-core.spec) && rm -rf "${rpmtopdir}" && mkdir -p "${rpmtopdir}"/{BUILD,RPMS,SOURCES,SPECS,SRPMS} && git archive --prefix "rdma-core-${version}/" --output "${rpmtopdir}/SOURCES/${name}-${version}.tgz" HEAD && rpmbuild --define="%_topdir ${rpmtopdir}" -ba ${name}.spec Bart.
Thanks Johannes and Bart. We'll try it out. Ram -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html