From: Kenneth P. <sh...@se...> - 2004-10-11 17:44:17
|
I'm trying to build an RPM from the 0.6pre1 tarball. After tweaking the tarball filenames in the spec file to handle the "beta-ness", I'm getting errors due to problems in the %files section. (Red Hat's rpmbuild is fairly strict about packaged files to protect one from packaging errors.) Processing files: mdbtools-0.6-0.pre1 error: File not found by glob: /home/buildmeister/var/tmp/usr/lib/libmdb.so* error: File not found by glob: /home/buildmeister/var/tmp/usr/lib/libmdbsql.so* error: File not found: /home/buildmeister/var/tmp/usr/bin/mdb-dump Where do the so's get created? I thought libtool might do it but don't see it creating the files. cp: cannot stat `BUGS': No such file or directory This one's easy enough to fix. Did the file get lost? In %files gui we have: %{_datadir}/gnome/help/gmdb/C/* %{_datadir}/gnome/help/gmdb/C/figures/* This results in double-listing the PNG files. Only the parent listing is needed. Once I get this working I can post a patch for the spec file. There really should be a spec file (not just a spec.in) in the tarball so that one can rebuild the RPM using "rpmbuild -ta xxxx.tar.gz". The tarball building procedure should be tweaked to accomplish that. |