- Make sure pre-existing (arch-independent) update-alternatives are wiped before registering new ones. Since update-alternatives has no reliable way to check if a certain 'generic name' exists, brute-force it and ignore any error (boo#1208248). - Remove totally pointless - ie. never executed - %%posttrans script. - Restore generic link for update-alternatives. This is usually set by the update-alternatives and it is '%ghost'ed but rpmlint complains. - Add rpmlintrc rules to avoid false positives from consistently guessing the update-alternatives generic name wrong. - Make arch dependent generic names conditional. OBS-URL: https://build.opensuse.org/request/show/1066169 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=156
4 lines
173 B
Plaintext
4 lines
173 B
Plaintext
# rpmlint get update-alternatives generic names wrong consistently
|
|
addFilter(".* alternative-link-missing.*")
|
|
addFilter(".* alternative-generic-name-missing .*\$\{lib\}.*")
|