I am trying to use checkinstall
to build a package from source code.
However, when I run checkinstall , it ask :
/root/rpmbuild has no source directory, please write the path to the rpm source directory tree.
I am running on Fedora 12 and system was installed through kickstart via repository of dvd of fc12. I was not aware of the rpm source directory during the installation.
So how can I check whether rpm source has been installed or not? If not, how to make the rpm source directory so that I can please the checkinstall and build the package successfully? Or can I bypass it?
Install the
rpmdevtools
package:and run
rpmdev-setuptree
to create the directory structure:the solution you seek is:
(as root) mkdir -p /root/rpmbuild/SOURCES