Bug 17800

Summary: urpmi does not support rpm's boolean dependencies
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-8.101-1.mga6.noarch CVE:
Status comment:

Description Barry Jackson 2016-02-20 16:53:06 CET
Description of problem:
As per summary.
rpm-4.13 supports rich dependencies that allow for example, that a Recommend is only recommended if another package is already installed.

This works fine with raw rpm in cauldron, but is ignored by urpmi.

The reason for requesting this feature is that onboard now has a gnome shell extension which pulls in 160 packages when installed in a non-gnome system.

I would like to Recommend it, but doing so would burden KDE users with a great chunk of Gnome.

Recommends:    (%{name}-gnome-shell-extension if gnome-shell)

...would resolve this problem by only recommending the extension when gnome-shell is previously installed.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Jani Välimaa 2016-02-20 18:22:31 CET
Duplicate.

*** This bug has been marked as a duplicate of bug 17799 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE