|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 04/12/2012 08:40 PM, Rick Hedin wrote:
I solved my main problem of not finding the files by using different switches on my rpm command. I wanted to keep everything inside the spec file, so I could just distribute it, but I failed. rpmbuild -bb --buildroot /tmp/rpmash_build wam.spec "--buildroot" being the significant factor. My remaining problems are: 1. The build erases the /tmp/rpmash_build tree each time I build the rpm file. 2. The build places the rpm file where it wants to, and names the rpm file what it wants to. I would like to specify the location and the name. I have read the "man rpmbuild" documentation, but I don't see switches to control these things. Rick
rpmbuild is kicking and screaming back because you're trying to use it in a way that it's not supposed to be used. The --buildroot option is something you never need in any remotely normal situation, and that's kinda where the problems start here (apparent misunderstanding about what a buildroot is).
Do take the time to walk through some rpmbuild tutorial(s) to build an understanding on how its supposed to work. Rpm.org has some pointers at http://rpm.org/wiki/Docs and googling for "rpmbuild tutorial" will turn out many many more.
- Panu - _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list