This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:rpm [2021-02-23 16:45] baggins no repackage here |
packages:rpm [2021-05-02 21:28] (current) baggins [Spec development] |
||
---|---|---|---|
Line 28: | Line 28: | ||
==== Repackage support ==== | ==== Repackage support ==== | ||
- | <note warning>Repackage is not supported by rpm.org rpm, so not rely on it.</note> | + | <note warning>Repackage is not supported by rpm.org rpm, so do not rely on it.</note> |
==== Python bindings ==== | ==== Python bindings ==== | ||
Line 50: | Line 50: | ||
===== Spec development ===== | ===== Spec development ===== | ||
- | * rpm.org rpm generates ''rpmlib(ShortCircuited)'' dependencies when package is build using ''%%--short-circuit%%'' option. To disable that add ''%disable_short_circuited_deps 0'' to ~/.rpmmacros | + | * rpm.org rpm generates ''rpmlib(ShortCircuited)'' dependencies when package is build using ''%%--short-circuit%%'' option. To disable that add ''%disable_short_circuited_deps 1'' to ~/.rpmmacros |
* Patch is now run with ''--fuzz=0'' option, add ''%_default_patch_fuzz 2'' to ''~/.rpmmacros'' to keep previous behavior. | * Patch is now run with ''--fuzz=0'' option, add ''%_default_patch_fuzz 2'' to ''~/.rpmmacros'' to keep previous behavior. | ||
* Package file checksum digests are now SHA256 based, if you need to keep previous behaviour, define ''%_source_filedigest_algorithm 1'' and ''%_binary_filedigest_algorithm 1'' into ''~/.rpmmacros'' | * Package file checksum digests are now SHA256 based, if you need to keep previous behaviour, define ''%_source_filedigest_algorithm 1'' and ''%_binary_filedigest_algorithm 1'' into ''~/.rpmmacros'' |