RPM

Implementation of per-file dependencies

Bug #638628 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Fedora
Won't Fix
Medium

Bug Description

tracker

Revision history for this message
In , Mark (mark-redhat-bugs) wrote :

The patch will add the ability to specify per file dependencies.

The dependencies are attributes that are specified on each line of the
%files section.

They are in addition to any automatic dependencies that are generated,
setting AutoReqProv: no in the package will cause the manual per-file
dependencies to be ignored.

The three new attributes are:

%fconflicts(...)
%fprovides(...)
%frequires(...)

The rules for what can be placed inside of each attribute is the same
as the preample: Conflicts, Provides, and Requires.

More then one attribute is allowed.

Example:

%files
%fprovides(my_foo_lib) %fprovides (your_foo_lib) /lib/libfoo.so.1
%frequires(my_foo_lib your_bar_lib) /bin/bar
%fconflicts(foobar <= 1:1-1) /bin/foobar

Revision history for this message
In , Mark (mark-redhat-bugs) wrote :

Created attachment 102293
Per file dependency implementation

Adds the attributes %fconflicts, %fprovides, %requires to the %files lines to
allow for manual per-file dependencies to be set.

Revision history for this message
In , Red (red-redhat-bugs) wrote :

User <email address hidden>'s account has been closed

Revision history for this message
In , Panu (panu-redhat-bugs) wrote :

Reassigning to owner after bugzilla made a mess, sorry about the noise...

Revision history for this message
In , John (john-redhat-bugs) wrote :

triaged

Jeff Johnson (n3npq)
tags: added: fedora filedeps
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.

Revision history for this message
In , Florian (florian-redhat-bugs) wrote :

Oh dear! 10 years later...

Closing. Please reopen if anyone interested in this is still alive.

Changed in fedora:
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.