On Sat, Jul 11, 2009 at 02:08:28PM +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 - this update allows us to get rid of the %clean phase completely in spec
* 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:
* /sbin/ldconfig in %post and %postun - trigger for /usr/lib{,64}/*.so.* to call /sbin/ldconfig
* %post %install_info and %post %install_info_delete - trigger for %{_infodir}/*.info*
* update-mime-database in %post and %postun - trigger for /usr/share/mime to call update-mime-database
* ...
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.
All of this sounds good, have you asked the opensuse rpm maintainer about this? thanks, greg k-h -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org