Krb5-1.10.3-10.el6_4.6.src.rpm
Hello,
I download krb5-1.10.3-10.el6_4.6.src.rpm
In Cenos 6.5, I use following instructions:
rpm -i krb5-1.10.3-10.el6_4.6.src.rpm rpmbuild -ba /home/mockbuild/rpmbuild/SPECS/krb5.spec
The RPMs that has been built are el6.6. I need el6_4.6 RPMs.
Could you help me please?
Best regards.
3 thoughts on - Krb5-1.10.3-10.el6_4.6.src.rpm
http://wiki.CentOS.org/HowTos/RebuildSRPM
http://vault.CentOS.org/6.4/os/Source/SPackages/
The %dist variable needs to be set to .el6_4 instead of .el6
You can do that different ways, depending on how you are building the package. If you are using mock, you need to set the dist variable in the specific config file for the root you are using. If you are building it in your home directory, you can do it with:
rpmbuild –define ‘dist .el6_4’ -ba /home/mockbuild/rpmbuild/SPECS/krb5.spec
The real question is … why recompile anything when we already have them here:
http://vault.CentOS.org/6.4/updates/x86_64/Packages/
Hello,
Thank you for your time and attention.
I changed %dist variable, for installation It will be conflicted with other required .el6_4 packages.
Best regards.