[Rpm-announce] RPM 4.8.0 released!

Panu Matilainen pmatilai at redhat.com
Fri Jan 8 09:20:47 UTC 2010


We're pleased to announce the availability of RPM release 4.8.0. Download
instructions and more detailed information are available from:

 	http://rpm.org/wiki/Releases/4.8.0

Here's the executive summary of user-visible changes since RPM 4.7.x:

General bugfixes and enhancements:

* Fix ftp/http proxy options (RhBug:529214) (regression originating
   from 4.6.0)
* Fix remote package retrieval in rpm2cpio (RhBug:523260)
* Fix --tid and --querybynumber query selectors (regression originating
   from 4.6.0)
* Fix extranuous dependency type characters in --filerequires/provides output
* Fix package relocatability checking (broken since forever)
* Fix --excludepath (RhBug:409637)
* Fix verification result depending on verbosity level (RhBug:510213)
* Fix filename starting with '-' treated as stdin
* Fix --nodirtokens yet again (RhBug:546663)
* Query error code fixes (SuseBug:527191)
* Report multiple scriptlet dependency bits in deptype format extension
* Permit user specified query formats to behave differently on rpm's
   verbosity level
* Dependency information queries now return the dependency type too in
   verbose mode
* New tag extensions:
   o DBINSTANCE (record number of installed packages)
   o HEADERCOLOR (multilib "color" of header)
   o EVR, NVR, NEVR, NEVRA, NVRA (convenience formatting of name, epoch,
     version, release and arch tags)
   o EPOCHNUM (epoch of header, returns 0 for no epoch)
   o VERBOSE (is rpm in verbose mode or not) 
* New format extensions:
   o :fstate (human readable file state information)
   o :vflags (human readable file verifyflags information) 
* Major speed improvement in file list queries (eg -qal)
* Major speed improvements in installation dependency calculations
* Error out early when trying to install to readonly filesystem
   (ticket #99, RhBug:464750)
* Disk space problems are only reported for affected packages (RhBug:517418)
* Skip %posttrans scriptlets of failed transaction elements
* Package erasures are now ordered too (ticket #48)
* Improved ordering of packages with dependency loops - loopy sets are
   now guaranteed to be installed together (ticket #51)
* Install ordering now differentiates between "colored" dependencies,
   giving better order with multilib package sets
* Handle Requires(pre,preun) ordering correctly on erasure
* %_netsharedpath is evaluated for erasures too (RhBug:494640)
* Validate rpmlib() dependencies on src.rpm install (RhBug:490613)
* Various minor corner-case memory leaks fixed
* Several documentation fixes (ticket #72, #63)
* Several translation updates (Spanish, Portugese Brasilian, Polish,
   German, Japanese, French, Serbian)

Package building:

* Automatic extraction of OCaml dependencies
* Automatic extraction of mime-handler provides from .desktop files
* Automatic extraction of font provides
* OSGi dependency generator fixes (ticket #101)
* Extra options can be now specified and passed to dependency
   extractor scripts
* %files now accepts multiple filelists through -f (ticket #70, RhBug:475359)
* Use 444 permissions for all .debug files (RhBug:522194)
* Handle .desktop files with spaces in filename (RhBug:520920)
* Fix duplicate dependency checking on build (RhBug:490378)
* Various commonly used Python macros added (ticket #83)
* Support for multiple major python versions in brp-python-bytecompile
* Packages can now have a separate bug reporting url by setting BugUrl
   in spec or through %_bugurl in macro configuration (RhBug:512774)
* Fix %sources and %patches containing the same items multiple
   times (ticket #82)
* Add default %clean section unless overridden in spec (ticket #81)
* %patch macro supports new -d option (ticket #69)
* New %make_install macro which does the right thing wrt modern
   autotools (ie "make install DESTDIR=...")
* Unset CDPATH (and DISPLAY) environment variables on build-scripts
* Always run build-scripts in C-locale
* Don't set --target in %configure (RhBug:458648)
* Fix segfault on %include of empty file
* Add XZ and LZMA recompress support to brp-compress (ticket #84)
* Correctly inherit default %attr(-,-,-) from %defattr (RhBug:515685)
* Support DWARF-3 in debugedit (RhBug:505774)
* Much stricter set of allowed characters in various tags like
   Name, Version etc (ticket #59, RhBug:493157)
* PreReq and BuildPreReq are now officially deprecated, with warnings
   at build-time
* PreReq is mapped to Requires(pre,preun) at build-time
* Permit %ghost to be used on non-existent files (RhBug:495040)
* Configurable changelog trimming in rpm files (ticket #47)
* Error out on unsupported payload compressor (RhBug:495429)
* Correctly handle "./" in file paths (RhBug:491388)
* Various tweaks to the internal file classifier (RhBug:491349)
* Handle XZ in %uncompress macro
* New built-in %getconfdir macro for getting rpm configuration
   "home directory"
* Support for signing with the ancient PGP has been removed
* Backwards compatibility macros %{PACKAGE_VERSION} and %{PACKAGE_RELEASE}
   are no longer supported in spec. Use %{version} and %{release} instead.

Changes since rpm-4.8.0-beta1:
- Avoid noise from python bytecompile on non-python packages (RhBug:539635)
- Avoid exposing libmagic dependency in public headers
- Several refcount-error caused memory leaks in python bindings fixed
- Move python transaction element refcounting back to C-level
- Permit unexpanded macros in spec tags again (RhBug:547997)
- Remove the internal-only disk-space related functions from public API
- Hardwire lead major version to 3 (RhBug:546663)

On behalf of the rpm-team,

         - Panu -



More information about the Rpm-announce mailing list