Here is what I do ... /srv/ftp/9.1 is my root dir
create_package_descr \ -d /srv/ftp/9.1/suse \ -l english \ -x /srv/ftp/9.1/suse/setup/descr/EXTRA_PROV \ -o /srv/ftp/9.1/suse/setup/descr
Richard Bos wrote:
I wonder how the EXTRA_PROV files is being made, that is required by create_package_descr? Another thing I would like to know is why the information is actually needed by create_package_descr or is it YPM that needs this information? How does the information influence the behaviour of YPM?
I understand that it could be needed as e.g: # rpm -q --whatprovides /bin/sh bash-2.05b-96
bug the other way around does not work: # rpm -q --provides bash (I would expect /bin/sh here)
Is EXTRA_PROV made manually?
Also in 9.1 the rpm kdebase3-SuSE provides an EXTRA_PROV too. This one and the one in suse/setup/description are rather different. Is this intended?
Why not use the Provides tag in the rpm to store this information and use that?? It would be easy for suse rpm contributors to support this too => Would that make it easier to provide yast enabled rpm repositories?