This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
packages:alternatives [2016-02-01 06:22] glen |
packages:alternatives [2016-02-01 06:24] glen [integrating] |
||
---|---|---|---|
Line 45: | Line 45: | ||
- the ''%%--slave%%'' option is optional and may be repeated, use if you wish to "group" alternatives | - the ''%%--slave%%'' option is optional and may be repeated, use if you wish to "group" alternatives | ||
- use proper ''%postun'' to remove alternative on package uninstall | - use proper ''%postun'' to remove alternative on package uninstall | ||
+ | |||
+ | <note warning> | ||
+ | Currently it remains unclear how to handle optional files, as for above example: | ||
+ | - ''%{_mandir}'' path can be missing if ''%_excludedocs'' is set | ||
+ | - ''%{_mandir}'' path could be ''.gz'' compressed or not, it's currently solved with a glob: ''%{_mandir}/man1/phar%{ver_suffix}.1*'' | ||
+ | </note> |