Issue
I need to build yum with a patch under Ubuntu 10.4 (reason being that i need a yum with chroot support for my vserver instance)
Since yum src for ubuntu where not avaliable (3rd party repos) i downloaded the source off the official repos and the patch off the linux-vserver.
However, when i try to build it with
rpmbuild -ba yum.spec
It fails with
error: Failed build dependencies:
python is needed by yum-3.2.22-0.src
gettext is needed by yum-3.2.22-0.src
intltool is needed by yum-3.2.22-0.src
Now i have all of these installed and i have no idea how to resolve this since i don't go rebuilding my stuff everyday.
Regards, V.
Solution
The solution is to enter the right deb-src repos to your yum list, download the source with apt-get source yum and apply the patch. Finally build the package with dpkg-buildpackage.
Answered By - Redconnection Answer Checked By - Timothy Miller (WPSolving Admin)