I am attempting to generate an .rpm file from a spec file that works OK
on cents 4 and 5. But fails miserably on 6.
Here's the %files section of the spec file:
%files
%defattr(-,root,root)
/usr/local/bin/logpoll
/etc/cron.daily/logpoll_cron
/etc/cron.d/logpoll_cmd
When I do a rpmbuild -bb logpoll.spec
I get a bunch of messages, "file not found" that reference (for example)
rpmbuild -bb logpoll.spec
Processing files: logpoll-1-62.x86_64
error: File not found:
/home/jim/rpmbuild/BUILDROOT/logpoll-1-62.x86_64/usr/local/bin/logpoll
error: File not found:
/home/jim/rpmbuild/BUILDROOT/logpoll-1-62.x86_64/etc/cron.daily/logpoll_cron
error: File not found:
/home/jim/rpmbuild/BUILDROOT/logpoll-1-62.x86_64/etc/cron.d/logpoll_cmd
I'm guessing something in the configuration changed. I tried rpmbuild
--buildroot=/ -bb logpoll.spec
and
rpmbuild --buildroot='' -bb logpoll.spec
But it complained that the buildroot can't be /.
Can anyone tell me how I can get rpmbuild back to working like it did
before?
Thanks,
Jim.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list