Matt Causey wrote: > On Jan 7, 2010, at 2:32, Alan Cox <[email protected]> wrote: > >> On Wed, 6 Jan 2010 19:17:47 -0800 >> Matt Causey <[email protected]> wrote: >> >>> FYI - Fedora 12 uses rpm v4.7. If you create rpms on Fedora 12, >>> they won't be compatible with Moblin2.1...I discovered today. >>> >>> Prolly not news to you guys, but thought I'd throw it out there...I >>> was pretty surprised to find such a crippling change in such a core >>> component. >> >> rpm works for backward compatibility - not forward. >> > I created an rpm using rpmbuild on rpm version 4.7. It fails to > install on Moblin 2.1 which uses rpm 4.6. The error cited by rpm > relates to the xz compression format which was introduced in 4.7. I'm > pretty sure that is not backwards compatible. > >> You normally build a totally generic rpm (eg to LSB) with rpm 3 >> > If that's the case, and it's the recommendation for developing > packages for Moblin, then that version of rpm tools should be packaged > with the build toolchain distributed for Moblin development. > Thoughts?
The rpm3 thing is not a great idea either, you can't actually get rpm3 anywhere current and I'm told it's not as completely compatible with rpm4 and used to be made out, and has some nasty problems relating to signing. Even Debian has lifted to a rather modern rpm (which would be used by alien during conversions). However, if you're concerned specifically with the payload format, that can be controlled via a macro to force a particular compression type, by defining %_source_payload and %_binary_payload. /usr/lib/rpm/macros should have a section decribing the available values, for example you could put this in your .rpmmacros when building on a system where the default is otherwise to get the old gzip compression: # force gzip payload %_binary_payload w9.gzdio That will let us discover what else is incompatible with the new Fedora rpm :) _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
