Bug 7384

Summary: urpmi: packageand() support
Product: Mageia Reporter: Olav Vitters <olav>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 3536    

Description Olav Vitters 2012-09-07 11:46:29 CEST
Could you please add support to urpmi for packageand()

I have a need for it in bug 3536.

Basically:
canberra has gtk+2.x and gtk+3.x subpackages

As soon as either subpackage is installed, both GTK+ versions will try and load the canberra module. But someone might not have gtk+2.x!

I'd like something like:

canberra package:
Requires: packageand(gtk+2.x,canberra-gtk0)
Requires: packageand(gtk+3.x,canberra-gtk3)

canberra-gtk0 as well as canberra-gtk3 require the base canberra package btw.
Olav Vitters 2012-09-07 11:46:46 CEST

Blocks: (none) => 3536

Manuel Hiebel 2012-09-09 15:14:14 CEST

CC: (none) => thierry.vignaud
Source RPM: (none) => urpmi

Comment 1 Thierry Vignaud 2012-09-09 16:18:20 CEST
Those are rpm tags, there's nothing urpmi can do.
"Requires: packageand(gtk+2.x,canberra-gtk0)" is the same as
"Requires: gtk+2.x canberra-gtk0" anyway

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