[PLDWWW] page changed: packages:alternatives

"Elan Ruusamäe (glen)" glen at pld-linux.org
Mon Feb 1 06:24:49 CET 2016


[integrating] 

--- https://www.pld-linux.org/packages/alternatives?rev=1454304158
+++ https://www.pld-linux.org/packages/alternatives?rev=1454304289
@@ -43,4 +43,10 @@
    - the path must be ghost and regular file, otherwise rpm will complin about file-conflicts
    - use ''%%--install%%'' to setup the symlinks in package ''%post'' scriptlet.
    - 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
+ 
+ <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>


Diff URL:
  https://www.pld-linux.org/packages/alternatives?do=diff&r1=1454304158&r2=1454304289
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list