-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob Kudla wrote: > I have been packaging gambas, a GPL VB-like language with Qt as its toolkit, > for a while and with its exit from alpha status I thought I would add it to > contrib.
I have actually built it a few times, and has some issues with the way this is packaged. However, gambas is kind of odd in that it has a two stage build: > first it builds the C++ executables and components, and then it installs them > to finish the build with the parts that are themselves written in gambas. I > got around this by splitting it into two SRPM's from the same tarball, gambas > and gambas-gui, the latter requiring the former, I don't think this is necessary ... I think you could work around it, your two SRPM setup isn't good, because it will fail on an automated rebuild (like Stefan's slbd bot). Or, you need to make it so that you can build the -gui package from an installed binary package of gambas (and/or a gambas-devel or something), and buildrequire that package. > but rpmlint prints a few > dozen errors (besides warnings) in the following categories: > > 1. It thinks the gambas RPM is a library RPM (because the components, which > are version-specific and will never be updated separately, are named lib.gb.* > and go into /usr/lib) and doesn't like the lack of a library version and the > presence of binaries. If there had to be a library package for every > component included as part of the core Gambas package, there'd be dozens of > packages by the time Gambas 1.0 rolled around. Put all the libs in one lib package. > > 2. It doesn't recognize the executables compiled into Gambas p-code as > binaries. It may be that gambas-gui could be a noarch package, but I haven't > confirmed that the final executables will actually run on non-x86. > > 3. Various files from the original tarball are zero-length or have > non-standard permissions like 744. > A single line find script can remove the empty files, and another one can fix the permissions. > There are some valid complaints (I haven't signed the packages for example) > but for the most part I don't think rpmlint's complaints don't apply to > packages like this. But I didn't want to waste 5mb of contrib space > uploading SRPM's that no one could use, so if anyone needs to see them, here > they are: > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=27 I think it's worthwhile having in contrib, if it's packaged ok. > > Any ideas how to rewrite the spec file to make rpmlint shut up or can I just > ignore the above errors and upload away? I'll try and take a look. - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/MmLwrJK6UGDSBKcRAp1DAJ0U0TzZPAfqM8k26aGBUEvP7hlGWACdGy1j oX/3D+bfpoOxJBu61sHbhEY= =aJHr -----END PGP SIGNATURE----- ****************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ******************************************************************
