On Thu, 2017-08-03 at 13:35 +0200, Johannes Thumshirn wrote: > On Thu, Aug 03, 2017 at 11:12:18AM +0000, Amrani, Ram wrote: > > 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-core Hello 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.-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html