Hi all, I have a few questions to you about making rpm specs. I hope any one can help me :)
1) the file list, I usually do is something like this: cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kfiresaver3d find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kfiresaver3d find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kfiresaver3d %files -f ../file.list.kfiresaver3d does anyone have a better trick? I dont like the "cd". Sometimes I am lazy and I just do "/". It does the trick. 2) I am maintaining a cvs build of kdevelop, which I compile it into an rpm. The rpm is available in iglu. For some reason I build the rpm, and now I get this problem when I try to install the rpm: [EMAIL PROTECTED] lib]# urpmi.real /home/todos/rpm/RPMS/i586/kdevelop-3.0-cvs_20040109.i586.rpm Some package requested cannot be installed: kdevelop-3.0-cvs_20040109.i586 (due to unsatisfied devel(libdb-3.3)) (Y/n) medium "online-contrib" uses an invalid list file: mirror is probably not up-to-date, trying to use alternate method The package name should be "libdb3.3-devel-3.3.11-16mdk". This dependency is not in my spec, so I dont even know from where the problem comes. If anyone has luck building and installing this rpm, please tell me how he did it. http://iglu.org.il/pub/Hebrew/diego/broken/kdevelop-new.spec last "working" binary: http://iglu.org.il/pub/Hebrew/diego/kdevelop/kdevelop-3.0-cvs_15_10_2003.i586.rpm 3) I am trying to make an rpm out of the _binary_ OpenOffice found now on the net (read http://dot.kde.org/1073557624/ for more info). The binary itself runs quite well on my system. So packaging it should not be any problem. The spec is available at: http://iglu.org.il/pub/Hebrew/diego/broken/openoffice.spec get the OO binary from: ftp://ftp.kde.org/pub/kde/devel/OOo_1.1.0_kde_2004-01-06_LinuxIntel_Install.tar.gz build the rpm (takes about 10 minutes, even from binary, be patient). Now I try to install the rpm and I get: [EMAIL PROTECTED] lib]# rpm -Uhv /mnt/source/rpm/RPMS/i586/OpenOffice-1.1-3cuco.i586.rpm error: Failed dependencies: libcrypto.so.0 is needed by OpenOffice-1.1-3cuco libjawt.so is needed by OpenOffice-1.1-3cuco libreadline.so.4.1 is needed by OpenOffice-1.1-3cuco libssl.so.0 is needed by OpenOffice-1.1-3cuco libtcl8.3.so is needed by OpenOffice-1.1-3cuco libtk8.3.so is needed by OpenOffice-1.1-3cuco and look: [EMAIL PROTECTED] lib]# rpm -qf /usr/lib/libssl.so libopenssl0.9.7-devel-0.9.7b-4mdk [EMAIL PROTECTED] lib]# urpmf libtcl tcl:/usr/lib/libtcl.so and goes on... Is there a good reason why rpm ignores those files? I mean LD should find them and tell rpm that they exist (the dependency is set to /usr/lib/libcrypto.so packages and not to the /usr/lib/libcrypto.so.0.9.7 for example). BTW, --nodeps and that rpm works quite good. I got the same results with the official rpm from OpenOffice site. I would like to do that also to the hebrew version, when it's out. -- diego, Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]