On Sat, Jul 11, 2009 at 02:08:28PM +0200, Pavol Rusnak wrote:
Currently we have 63 patches in the package. I hope most of them have been upstreamed so we won't have to maintain them in-house anymore after the update.
Some of them, yes. rpm-4.6 also comes with some Fedora specific things that I have to patch out.
We are working closely with Fedora and RPM upstream to make packaging easier. We are listing differences between the two distributions, to see what is done differently (for most of tasks Fedora uses few lines of shell script repeated in every .spec file, openSUSE use macros), so we can pick the better solution and create the macro in upstream (or even better get rid of the macro and scriptlet completely, see File triggers below).
Some of the interesting features:
* %doc(type) tag - 4.8.0 will introduce this tag, so you can tag types of various documentiation files - when creating minimal RPM packages by not including the files marked as %doc we also remove the license file, which is not right - if we mark the licence file with %doc(license), we can very easily do this task correctly
Oh please.
* BuildRoot enforced - RPM now enforces BuildRoot and creates it correctly (the path from spec is ignored)
Where's the advantage?
- in SUSE we don't have to remove the buildroot in %install phase (like Fedora does), but we still remove it in the %clean phase - this update allows us to get rid of the %clean phase completely in spec
Removing it in %install is wrong.
* File triggers - this feature allows to run certain scriptlets when some of the paths have been touched - this allows us to remove the following scriptlets from spec files, for example:
Uh, aren't you confusing things here? This is something that was discussed on the rpm-4 list, and Panu (the rpm-4 upstream) is pretty much against it.
This is just tip of the iceberg and it hurts the cross-distro collaboration if we are stuck with RPM which is three or four versions older.
Simply not true. Plus, if you want to provide gnome packages for the older openSUSE distributions you can't use the new features. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org