packages:rpm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages:rpm [2020-11-01 08:18] – [rpm 4.16 porting status] glen | packages:rpm [2021-05-02 21:28] (current) – [Spec development] baggins | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== RPM Package ====== | ====== RPM Package ====== | ||
- | ===== rpm 4.16 porting status ===== | + | ===== rpm5 to rpm.org rpm porting status ===== |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== rpm5 to rpm.org rpm package update ===== | ||
+ | |||
+ | All of the below is fully automated within the package using '' | ||
+ | |||
+ | ==== RPM database format change ==== | ||
+ | |||
+ | Quoting [[https:// | ||
+ | |||
+ | > //The current rpm database implementation is based on Berkeley DB 5.x, a version which is unmaintained upstream for several years now. Berkeley DB 6.x is license incompatible so moving to that is not an option. In addition, the existing rpmdb implementation is notoriously unreliable as it's not transactional and has no other means to detect inconsistencies either. | ||
+ | |||
+ | Changing to a more sustainable database implementation is long overdue. We propose to change the default rpmdb format to the new sqlite based implementation.// | ||
+ | |||
+ | * The rpm database format changes from Berkeley DB to SQLite, conversion is automatic after rpm package set update. Backup of the old database is saved as ''/ | ||
+ | * Users who have a particular need to stay on Berkeley DB backend can still do so by overriding the configuration manually (eg. '' | ||
+ | * It is also possible to convert back bu overriding '' | ||
+ | |||
+ | <note warning> | ||
+ | </ | ||
+ | |||
+ | ==== Repackage support ==== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | ==== Python bindings ==== | ||
+ | |||
+ | While rpm5 provided only Python 2 bindings, rpm.org rpm provides only Python 3 bindings. | ||
+ | |||
+ | ==== SNMP support ==== | ||
+ | |||
+ | rpm.org rpm does not support hrmib integration. | ||
+ | |||
+ | ===== Porting packages from rpm5 to rpm.org rpm ===== | ||
+ | |||
+ | * Suggests are now [[http:// | ||
+ | * '' | ||
+ | * Minor spec syntax changes | ||
+ | * Spaces around operators in dependencies are required (ex. BuildRequires: | ||
+ | * Bare words are no longer supported, please use " | ||
+ | * Symlinks are always packaged with 777 mode and using '' | ||
+ | * '' | ||
+ | |||
+ | ===== Spec development ===== | ||
+ | |||
+ | * rpm.org rpm generates '' | ||
+ | * Patch is now run with '' | ||
+ | * Package file checksum digests are now SHA256 based, if you need to keep previous behaviour, define '' |
packages/rpm.1604215114.txt.gz · Last modified: 2020-11-01 08:18 by glen