Hello,
I'm looking at building the kernel-rt package for RHEL7[1], but I don't see where to obtain the Source0 file:
Source0: %{name}-%{rpmversion}-%{pkg_release_simple}.tar.xz
So *kernel-rt-3.10.0-229.rt56.141.el7.tar.xz* currently. Can anyone point me to a download URL?
Thanks, Taylor
Hi,
Am 23.03.2015 um 20:07 schrieb Taylor Braun-Jones:
Hello,
I'm looking at building the kernel-rt package for RHEL7[1], but I don't see where to obtain the Source0 file:
Source0: %{name}-%{rpmversion}-%{pkg_release_simple}.tar.xz
So *kernel-rt-3.10.0-229.rt56.141.el7.tar.xz* currently. Can anyone point me to a download URL?
Have you tried git.centos.org? https://git.centos.org/summary/rpms!kernel-rt
cheers Christoph
23.3.2015, 21.07, Taylor Braun-Jones kirjoitti:
Hello,
I'm looking at building the kernel-rt package for RHEL7[1], but I don't see where to obtain the Source0 file:
Source0: %{name}-%{rpmversion}-%{pkg_release_simple}.tar.xz
So *kernel-rt-3.10.0-229.rt56.141.el7.tar.xz* currently. Can anyone point me to a download URL?
Thanks, Taylor [1] https://git.centos.org/summary/?r=rpms/kernel-rt
You will need to use the get_sources.sh command as described on http://wiki.centos.org/Sources to get the source tarball.
On Mon, Mar 23, 2015 at 4:01 PM, Anssi Johansson centos@miuku.net wrote:
You will need to use the get_sources.sh command as described on http://wiki.centos.org/Sources to get the source tarball.
Thanks - get_sources.sh is the part I was missing. 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
On Mon, Mar 23, 2015 at 9:16 PM, Taylor Braun-Jones taylor@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