At Sat, 11 Jul 2009 14:08:28 +0200, Pavol Rusnak wrote:
Greg KH wrote:
On Sat, Jul 11, 2009 at 04:53:39AM +0200, Pavol Rusnak wrote:
Hi!
There is still rpm 4.4.2.3 in Factory and upstream is already at 4.7.0. Will we try to update the package for 11.2 to the newest version we can afford?
What is in the newer releases that you need/want?
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.
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
* BuildRoot enforced - RPM now enforces BuildRoot and creates it correctly (the path from spec is ignored) - 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
But don't we need %clean anyway if using the same spec file for various distro versions? Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org