[CentOS-devel] Source archive for kernel-rt package

Taylor Braun-Jones

taylor at braun-jones.org
Tue Mar 24 15:18:52 UTC 2015


On Mon, Mar 23, 2015 at 9:16 PM, Taylor Braun-Jones <taylor at braun-jones.org>
wrote:

> To get the file name to match what the spec expected, I just had to:
>
> mv SOURCES/kernel-rt-3.10.0-229.rt56.141.el7{,.centos}.tar.xz
>

Actually, renaming the file didn't quite work. What did work was using
--define "dist .el7" like so:

rpmbuild --nodeps --define "%_topdir `pwd`" --define "dist .el7" -bs
SPECS/kernel-rt.spec
mock -r epel-7-x86_64 --define "dist .el7" --rebuild
SRPMS/kernel-rt-3.10.0-229.rt56.141.el7.src.rpm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20150324/34829dee/attachment-0004.html>


More information about the CentOS-devel mailing list