Description of problem: docbook-utils package requires elinks package for the backend processor to dump HTML into plain text internally. Inspite of its default requirement, other text browsers(w3m or lynx) are also available by the script: /usr/share/sgml/docbook/utils-0.6.14/backends/txt In the case of xmlto package, it needs w3m package for the same purpose. It means different packages are required for the same functionality. It is more than enough. My suggestion is that each text browsing package provides its functionality such as "Provides: text-www-browser", then both docbook-utils and xmlto can specify "Requires: text-www-browser". Version-Release number of selected component (if applicable): docbook-utils-0.6.14-4 Additional info: xmlto, w3m, elinks and lynx packages are involved in this RFE.
Regarding w3m package, w3m already Provides : webclient, But at same time I saw that many other packages also provides it. repoquery --whatprovides webclient curl-0:7.16.4-7.fc8.i386 elinks-0:0.11.3-5.fc8.i386 w3m-0:0.5.2-4.fc8.i386 wget-0:1.10.2-16.fc8.i386 lynx-0:2.8.6-6.fc8.i386 w3m-el-xemacs-0:1.4.4-6.fc7.noarch w3m-el-0:1.4.4-6.fc7.noarch elinks-0:0.11.3-5.fc8.i386 firefox-0:2.0.0.6-11.fc8.i386 wget-0:1.10.2-16.fc8.i386 curl-0:7.16.4-7.fc8.i386 dillo-0:0.8.6-4.fc8.i386 w3m-0:0.5.2-4.fc8.i386 firefox-0:2.0.0.6-11.fc8.i386 Do you see any problem in adding Requires: w3m in docbook-utils.spec?
Better I suggest do similar things as done in xmlto.spec in devel branch ============================================================================== # We need w3m or elinks or lynx for text output. Let's go for w3m, # since this one is preferred upstream. Requires: w3m ==============================================================================
Provides: webclient is not useful in this case - I need special provide for TEXT web clients - it means w3m, elinks(links) and lynx. Current situation is that if you are using lynx as text-www-browser(as I'm using to be honest) and you want xmlto and docbook-utils package, yum will install elinks for docbook-utils and w3m for xmlto - and this is wasting of space. If there will be Provides: Text-www-browser in spec of all of text-www-clients, I could use in xmlto and docbook-utils that Requires: text-www-browser and it yum in this case will keep lynx and will not install anything else. This is the point. Current situation is a bit silly.
ok. Will add following line to w3m.spec Provides: text-www-browser But I saw you are maintainer of elinks and still its missing same required Provides. I guess you want all packages to be updated with that Provides. Also, Do I need to remove Provides: webclient or I should keep it in w3m.spec?
Thanks. I will update my packages and will inform lynx maintainer about that change. Keep Provides: webclient - this is generic webclient provide - no matter if graphical or not ... so it should be kept. This text-www-browser provide should be only additional...
Thanks. will update w3m by tomorrow.
Ondrej, I have built w3m-0.5.2-5.fc8 successfully now that Provides: text-www-browser
Please document on http://fedoraproject.org/wiki/VilleSkytt%C3%A4/VirtualProvides
built elinks-0.11.3-6.fc8 docbook-utils-0.6.14-10.fc8 xmlto-0.0.18-17 Lynx maintainer is informed about that, she will build new lynx package soon. Hopefully everything done, so closing RAWHIDE.