User:Akozumpl/No bin deps

From FedoraProject

< User:Akozumpl(Difference between revisions)
Jump to: navigation, search
 
Line 14: Line 14:
  
 
   Requires: /bin/python
 
   Requires: /bin/python
 +
 +
[[Category:Packaging guidelines drafts]]

Latest revision as of 14:52, 12 July 2013

[edit] Disallow dependencies on files under /bin

[edit] Proposed change

The current guidelines read:

 Whenever possible you should avoid file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin.

I propose changing this to:

 Whenever possible you should avoid file dependencies outside of /etc, /usr/bin, or /usr/sbin.

[edit] Rationale

The reason is that /bin is merely a symlink now and packages only install in /usr/bin. The corresponding /bin entry does not (and should not) appear in the repo's filelist metadata and when resolving dependencies we have no way (besides spaculating on the existence of /bin -> /usr/bin symlink) to tell what was meant by:

 Requires: /bin/python