From Fedora Project Wiki
(Created page with "= Disallow dependencies on files under /bin = == Proposed change == The current guidelines reads: Whenever possible you should avoid file dependencies outside of /etc, /bi...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
== Proposed change ==
 
== Proposed change ==
The current guidelines reads:
+
The current guidelines read:
  
 
   Whenever possible you should avoid file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin.
 
   Whenever possible you should avoid file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin.
Line 14: Line 14:
  
 
   Requires: /bin/python
 
   Requires: /bin/python
 +
 +
[[Category:Packaging guidelines drafts]]

Latest revision as of 14:52, 12 July 2013

Disallow dependencies on files under /bin

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.

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