configure path for dependent rpm packages for building source rpm package
Hi all,
I am trying to cross compile rpm source rpm packages to create rpm package. I am using following command : rpmbuild -bi --target=armv7l <spec.file> However the spec file looks for some dependent packages. I already have these packages but I dont know where exactly does the rpm looks for these packages?(The path). When I executed rpm build command , it created a directory rpmbuild in home and sub folder like BUIL, BUILDROOT, RPMS, SRPMS, SOURCES etc Please help me. Thanks |
Welcome to LQ.
It's been a while since I used an .rpm based distro, but I'll try to answer your question. If I remember correctly, rpm uses /etc/rpmrc (or an rpmrc somewhere in /etc) which directs rpm to reference a database of installed rpms. The database is in /var/lib/rpm. I don't remember where the rpms themselves are stored. Quote:
|
All times are GMT -5. The time now is 06:16 PM. |