Re: [Rpm-ecosystem] rpm -q --whatrequires and rich deps

2016-04-11 Thread Michael Schroeder
On Mon, Apr 11, 2016 at 12:53:35PM +0200, Michael Mraka wrote: > So to make things consistent I'd propose to fix > rpm -q --whatrequires H > which currently returns "none". And fix --whatsuggests, --whatrecommends, etc. > to work the same way. Wait, don't make "rpm -q --whatrequires H" return

Re: [Rpm-ecosystem] rpm -q --whatrequires and rich deps

2016-04-11 Thread Michael Mraka
Thank you guys for your responses. Not surprisingly - different people, different expectations :). Miroslav Suchy wrote: % In rpm I would like to have semantic "which package will stop working if I remove this package". % I.e. when I run: % rpm -e foo % then I will get some errors that foo

Re: [Rpm-ecosystem] rpm -q --whatrequires and rich deps

2016-04-07 Thread Michael Schroeder
Dne 7.4.2016 v 11:17 Michael Mraka napsal(a): > I'd like to hear your unbiased opinion that's why I don't include > neither my preferences nor current rpm behavior for now. > > An example to think about - have a package with following requires installed > richdep.spec: > Requires: A >

Re: [Rpm-ecosystem] rpm -q --whatrequires and rich deps

2016-04-07 Thread Pascal Terjan
On 7 April 2016 at 11:49, Miroslav Suchý wrote: > Dne 7.4.2016 v 11:17 Michael Mraka napsal(a): > >> How does this work in other distributions? >> >> I'd like to hear your unbiased opinion that's why I don't include >> neither my preferences nor current rpm behavior for now. >