This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
packages:rpm [2021-02-01 10:43] glen add file checksum digests macros |
packages:rpm [2021-02-06 10:13] baggins |
||
---|---|---|---|
Line 46: | Line 46: | ||
===== 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 ~/.rpmrc | + | * 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 ~/.rpmrc |
* 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'' |